Deprecated 'binary' encoding is no longer used. Git.readFile does not assume anything about the file encoding. Instead, it takes (optional) 'encoding' parameter. - if encoding is not specified, then the raw buffer is returned - if encoding is specified, buffer is converted to 'string' Such behavior is compatible with that of fs.readFile Internally git-fs is using 'utf8' when reading git output, since that's a default encoding for git commands.
…to 'process.ENOENT' when a "Path 'path' does not exist in 'commit-ref'" error occurs.
…o that the error is actually useful.
…he sha for HEAD requests so we can cache them too. The actual lookup of current sha as well as reading static files/directories is only cached for 100ms. All other caches are permanent. Removed stream stuff since pulling from in-memory cache is faster. Also removed tag based stuff since I'm not using it and it's ugly.
…lel to the subprocess.