Permalink
Commits on Jun 25, 2012
Commits on Sep 14, 2011
  1. Bump version

    committed Sep 14, 2011
Commits on Aug 26, 2011
  1. Merge pull request #8 from pirxpilot/file-encoding

    Better support for non-ascii files in Git.readFile
    committed Aug 26, 2011
  2. Unit test for tools and affected git-fs functions

    Test are using standard node assert module
    They can be run with node-zap:
    
    Caching is effectively disabled in test environment so that tests can complete.
    pirxpilot committed Aug 26, 2011
  3. Fix encoding issues with Git.readFile

    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.
    pirxpilot committed Aug 25, 2011
Commits on Mar 5, 2011
Commits on Sep 22, 2010
  1. Bump Version

    committed Sep 22, 2010
  2. Add an 'errno' property to the Error object in callbacks, and set it …

    …to 'process.ENOENT' when a "Path 'path' does not exist in 'commit-ref'" error occurs.
    TooTallNate committed with Sep 22, 2010
Commits on Sep 1, 2010
  1. Add package.json for npm

    committed Sep 1, 2010
Commits on Apr 28, 2010
  1. When there is a file not found message from node, add the file path s…

    …o that the error is actually useful.
    committed Apr 28, 2010
Commits on Apr 16, 2010
  1. Add a log reader for files.

    committed Apr 16, 2010
Commits on Apr 15, 2010
  1. Add a stat function.

    committed Apr 15, 2010
Commits on Apr 14, 2010
Commits on Apr 13, 2010
  1. Factor out the caching pattern and expose it.

    This leads to highly optimized queries and smaller codebases!
    committed Apr 13, 2010
  2. Heavy re-factor. Use strong caches and queues on everything. Lookup t…

    …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.
    committed Apr 13, 2010
Commits on Apr 9, 2010
  1. Close streams when done

    committed Apr 9, 2010
Commits on Apr 7, 2010
  1. Put a lock around requests so we don't ask the same question in paral…

    …lel to the subprocess.
    committed Apr 7, 2010
Commits on Apr 6, 2010
  1. Initial commit

    committed Apr 6, 2010