Permalink
Commits on Jan 29, 2012
  1. Make Repository.Init() return an instance of the Repository type, ins…

    …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.
    committed with nulltoken Jan 29, 2012
  2. Upgrade libgit2 binaries to f25cc58

    From now on, libgit2 binaries are compiled with THREADSAFE=ON.
    
    Fix issues #54 and #64.
    nulltoken committed Jan 29, 2012
Commits on Jan 8, 2012
Commits on Jan 5, 2012
  1. Fix Head documentation

    nulltoken committed Jan 4, 2012
Commits on Dec 21, 2011
  1. Remove Repository.HasObject()

    nulltoken committed Dec 21, 2011
Commits on Dec 20, 2011
  1. Release LibGit2Sharp v0.7.0

    nulltoken committed Dec 20, 2011
Commits on Dec 15, 2011
  1. Make Index.Remove() cope with files which have been modified in the w…

    …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)
    Flonix committed with nulltoken Dec 15, 2011
  2. Make Index.Remove() cope with files which have been deleted from the …

    …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
    Flonix committed with nulltoken Dec 6, 2011
Commits on Dec 2, 2011
Commits on Dec 1, 2011
Commits on Nov 29, 2011
Commits on Nov 28, 2011
  1. Make Stage(), Unstage(), Move() and Remove() explicitly throw a NotIm…

    …plementedException when being passed a path that leads to a directory
    nulltoken committed Nov 12, 2011
  2. Add basic Tuple<T1, T2> type

    nulltoken committed Nov 6, 2011
  3. Add overloads to index methods that accept collection of paths

    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.
    pro-logic committed with nulltoken Nov 1, 2011
Commits on Nov 24, 2011
  1. Improve reliability in running unit tests

    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.
    tclem committed with nulltoken Nov 17, 2011
Commits on Nov 18, 2011
Commits on Nov 7, 2011
  1. Fix line endings of packed-refs test files

    Entries are supposed to be separated by Unix line endings, not Windows ones
    nulltoken committed Nov 7, 2011
Commits on Nov 6, 2011
  1. Prevent ConfigurationFixture.CanSetGlobalStringValue test from failin…

    …g when the location of the .gitconfig file should be retreived through the HOME environment variable
    
    Should fix issue #82.
    nulltoken committed Nov 6, 2011
Commits on Nov 5, 2011
  1. Release LibGit2Sharp v0.6.2

    nulltoken committed Nov 5, 2011
Commits on Nov 4, 2011
  1. Make Index.Stage(), Index.Unstage(), Index.Move() and Index.Remove() …

    …able to cope with native Windows directory separator char
    
    Should temporarily fix issue #74.
    Flonix committed with nulltoken Nov 4, 2011
Commits on Nov 1, 2011