Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Jan 29, 2012
  1. @nulltoken

    Make Repository.Init() return an instance of the Repository type, ins…

    authored nulltoken committed
    …tead of a string containing the path of the repository
    
    This instance has to be released by a call to Dispose() or through usage of the using() statement.
  2. @nulltoken
  3. @nulltoken

    Upgrade libgit2 binaries to f25cc58

    nulltoken authored
    From now on, libgit2 binaries are compiled with THREADSAFE=ON.
    
    Fix issues #54 and #64.
Commits on Jan 8, 2012
  1. @nulltoken
  2. @nulltoken
  3. @nulltoken
Commits on Jan 5, 2012
  1. @nulltoken

    Fix Head documentation

    nulltoken authored
  2. @nulltoken
Commits on Dec 21, 2011
  1. @nulltoken
Commits on Dec 20, 2011
  1. @nulltoken

    Release LibGit2Sharp v0.7.0

    nulltoken authored
  2. @nulltoken
  3. @nulltoken
Commits on Dec 15, 2011
  1. @nulltoken
  2. @Flonix @nulltoken

    Make Index.Remove() cope with files which have been modified in the w…

    Flonix authored nulltoken committed
    …orking directory
    
    Fixes issue #95 - 2/2.
    
    One can't GitRemove a modified file.
    
    $ mkdir test
    $ cd test
    $ git init .
    $ echo "a" > a.txt
    $ git add .
    $ git commit -m "Initial commit"
    
    $ echo "b" >> a.txt
    
    $ git status
    no changes added to commit (use "git add" and/or "git commit -a")
    
    $ git rm a.txt
    error: 'a.txt' has local modifications
    (use --cached to keep the file, or -f to force removal)
  3. @Flonix @nulltoken

    Make Index.Remove() cope with files which have been deleted from the …

    Flonix authored nulltoken committed
    …working directory
    
    Fixes issue #95 - 1/2.
    
    One can GitRemove a file which has been deleted from the workdir
    
    $ mkdir test
    $ cd test
    $ git init .
    $ echo "a" > a.txt
    
    $ git add .
    $ git commit -m "Initial commit"
    
    $ git status
    nothing to commit (working directory clean)
    
    $ rm a.txt
    
    $ git status
    On branch master
     Changes not staged for commit:
       (use "git add/rm <file>..." to update what will be committed)
       (use "git checkout -- <file>..." to discard changes in working directory)
    
           deleted:    a.txt
    
    $ git rm a.txt
    
    $ git status
    On branch master
    Changes to be committed:
       (use "git reset HEAD <file>..." to unstage)
           deleted:    a.txt
Commits on Dec 2, 2011
  1. @nulltoken
Commits on Dec 1, 2011
  1. @nulltoken
Commits on Nov 29, 2011
  1. @nulltoken
Commits on Nov 28, 2011
  1. @nulltoken
  2. @nulltoken

    Make Stage(), Unstage(), Move() and Remove() explicitly throw a NotIm…

    nulltoken authored
    …plementedException when being passed a path that leads to a directory
  3. @nulltoken
  4. @nulltoken
  5. @nulltoken
  6. @pro-logic @nulltoken

    Add overloads to index methods that accept collection of paths

    pro-logic authored nulltoken committed
    Those new methods manipulate the index in memory when doing bulk operations before writing the index to disk.
    For 750 files the performance of Index.Stage(path) is ~14seconds, for Index.Stage(paths) it's ~7seconds.
  7. @Flonix @nulltoken
  8. @nulltoken
Commits on Nov 24, 2011
  1. @tclem @nulltoken

    Improve reliability in running unit tests

    tclem authored nulltoken committed
    This fixes what has been a huge pain for me in running the libgit2sharp unit
    tests lately. I think the issue is that different test runners end up
    preventing the Resources directory from getting cleaned/deleted. You often
    end up having to run the test(s) 2 or 3 times before they will actually run.
    The solution in this commit is to create a unique resources directory for
    each test run while still trying to cleanup the directories from the
    previous run. If there are still issues, we could let the cleanup step
    gracefully fail (leaving behind the previous run temp dir) and defer that
    cleanup until the next time the tests are run.
Commits on Nov 18, 2011
  1. @Flonix @nulltoken

    Make Index.RetrieveStatus() return native file paths

    Flonix authored nulltoken committed
  2. @tclem @nulltoken

    Allow access to config outside the context of a repo

    tclem authored nulltoken committed
  3. @nulltoken
Commits on Nov 7, 2011
  1. @nulltoken

    Fix line endings of packed-refs test files

    nulltoken authored
    Entries are supposed to be separated by Unix line endings, not Windows ones
Commits on Nov 6, 2011
  1. @nulltoken

    Prevent ConfigurationFixture.CanSetGlobalStringValue test from failin…

    nulltoken authored
    …g when the location of the .gitconfig file should be retreived through the HOME environment variable
    
    Should fix issue #82.
Commits on Nov 5, 2011
  1. @nulltoken

    Release LibGit2Sharp v0.6.2

    nulltoken authored
Commits on Nov 4, 2011
  1. @Flonix @nulltoken

    Make Index.Stage(), Index.Unstage(), Index.Move() and Index.Remove() …

    Flonix authored nulltoken committed
    …able to cope with native Windows directory separator char
    
    Should temporarily fix issue #74.
Commits on Nov 1, 2011
  1. @nulltoken
Something went wrong with that request. Please try again.