Permalink
Commits on Feb 12, 2013
  1. Merge pull request #14 from mnicky/patch-1

    mkottman committed Feb 12, 2013
    fix: util.join_path is 'nil'
Commits on Feb 4, 2013
  1. Replace temporary files with in-memory string reader

    mkottman committed Feb 4, 2013
    Windows `tmpfile()` cannot handle large amounts of created temporary
    files, so we use in-memory string reader from Penlight as a temporary
    storage. This should definitely fix long-running operations on Windows.
Commits on Jan 31, 2013
  1. Fix permission problems on Windows with large repositories

    mkottman committed Jan 31, 2013
    This uses a custom implementation of tmpfile() which works on Windows.
    The problem was caused by io.tmpfile() and os.tmpname() returning
    files in the root directory on Windows.
Commits on Jan 24, 2013
  1. Finally fix naughty #8

    mkottman committed Jan 24, 2013
    Now the code can repeatedly check out large repositories (like openssl)
    with ulimit open file limit as low as 10. Should fix Windows issues.
Commits on Jan 23, 2013
  1. Merge pull request #11 from mnicky/master

    mkottman committed Jan 23, 2013
    Close even more files to prevent 'too many open files' error
  2. Fix closing of packfile

    mkottman committed Jan 23, 2013
  3. Recursively resolve tags, fix #10

    mkottman committed Jan 23, 2013
  4. More generic test_remotes.lua

    mkottman committed Jan 23, 2013
Commits on Jan 21, 2013
  1. Merge pull request #7 from mnicky/master

    mkottman committed Jan 21, 2013
    Directory to which refs should be written doesn't exist on Windows
Commits on Jan 17, 2013
  1. Merge pull request #6 from mnicky/master

    mkottman committed Jan 17, 2013
    optional arguments to suppress printing of fetch progress
Commits on Jan 16, 2013
Commits on Jan 10, 2013
  1. Fix extracting files on Windows

    mkottman committed Jan 10, 2013
    This little unnoticed typo caused that binary files containing the 0x1A
    byte (Ctrl-Z - end-of-stream) opened on Windows were truncated.
    
    http://programovani.tumblr.com/post/40023045315/kdyz-hledate-bug-prochazite-kod-az-ten-preklep
Commits on Jan 8, 2013
  1. Handle commits for submodules in a tree, fix #2

    mkottman committed Jan 8, 2013
    Previously, only 'blob' and 'tree' objects were handled in a tree.
    When a git repository contains submodules, they are stored in the tree
    as a 'commit object' (mode 16000). While checking out the tree, an
    empty directory is created for each such commit.
  2. Open all files in binary mode

    mkottman committed Jan 8, 2013
  3. Merge pull request #4 from mnicky/master

    mkottman committed Jan 8, 2013
    creating directories in a portable way
Commits on Jan 7, 2013
  1. Fix fetching a specific head

    mkottman committed Jan 7, 2013
    Remotes were stored in a table by their hash, which made some
    remotes disappear when e.g. a tag or a branch was present at
    the same commit. Now they are accessed by name.
Commits on Dec 27, 2012
  1. Added a ls-remotes equivalent in git.protocol.remotes

    mkottman committed Dec 27, 2012
    The function takes an URL (currently only git:// protocol is implemented)
    and retrieves the list of branches and tags in the given repository.
    
    The information is returned in a table, where keys are string remote names
    (like refs/heads/master) and values are hex string SHA1 IDs.
Commits on Dec 12, 2012
  1. Added the ability to fetch and checkout a tag/branch from a remote re…

    mkottman committed Dec 12, 2012
    …pository
    
    Also, a CMake build for LuaDist. Embeds source from lua-bitop, lua-zlib and
    an implementation of SHA1 hash to minimize dependencies.
Commits on Aug 31, 2010
Commits on Jun 17, 2010
Commits on Jun 16, 2010
  1. apply delta resolving when retrieving blobs from the pack

    mkottman committed Jun 16, 2010
    Now it should be able to extract all files from the pack.