Permalink
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
  1. Fix wrong test

    nulltoken committed Nov 1, 2011
  2. Release LibGit2Sharp v0.6.1

    nulltoken committed Nov 1, 2011
Commits on Oct 31, 2011
  1. Upgrade libgit2 binaries to e3baa3c

    Test CanRetrieveTheStatusOfTheWholeWorkingDirectory now passes.
    nulltoken committed Oct 31, 2011
  2. Fix the tests to cope with the newly committed "1.txt" file in the te…

    …st repository
    
    Test CanRetrieveTheStatusOfTheWholeWorkingDirectory fails because of an ordering issue in libgit2.
    nulltoken committed Oct 31, 2011
  3. Add a test file "1.txt" beside the "1" folder to put under the light …

    …an ordering issue when determining status
    nulltoken committed Oct 31, 2011
Commits on Oct 23, 2011
  1. Release LibGit2Sharp v0.6.0

    nulltoken committed Oct 23, 2011
  2. Change the tree structure into which libgit2 binaries are located in …

    …order to be able to dynamically bind against 32 or 64 bits version of libgit2
    
    Should partially fix issue #70.
    nulltoken committed Oct 20, 2011
Commits on Oct 21, 2011
  1. Replace managed tree indexer functionality with native libgit2 git_tr…

    …ee_frompath() invokation
    nulltoken committed Oct 11, 2011