Use a more efficient data structure for getting bufs from paths. Only send create_buf if md5 differs. Only call 'git ls-files' if we're in a git directory.