Permalink
Commits on Feb 12, 2012
  1. Release LibGit2Sharp v0.8.0

    nulltoken committed Feb 12, 2012
Commits on Feb 10, 2012
Commits on Feb 8, 2012
  1. Fix detection of the lack of user identity details in git global and …

    …system configuration files
    nulltoken committed Feb 8, 2012
Commits on Feb 6, 2012
  1. Upgrade libgit2 binaries to 242a1ce

    Fix issue #108.
    nulltoken committed Feb 5, 2012
Commits on Feb 4, 2012
  1. Optimize the execution of some tests

    Tests that do not alter the state of the test repositories are not required to run against a temporary copy.
    nulltoken committed Feb 4, 2012
Commits on Feb 3, 2012
  1. Workaround for reference slash prefix in libgit2.

    When libgit2 is passed a path to a working directory instead of a
    git directory the names returned from git_reference_listall (and
    perhaps other similar methods) will be prefixed with a slash such
    that insteaf of refs/heads/master it'll return /refs/heads/master.
    
    LibGitSharp always does it's string prefix comparisons without a
    starting slash (which seems to be the correct thing to do).
    
    Includes test which verifies the problem by copying the sample working
    directory and performing the same test (CanListAllBranches) that's run
    for the bare repository.
    
    Update constructor documentation to reflect that it's possible
    to pass the path to a working directory.
    niik committed Feb 2, 2012
Commits on Feb 1, 2012
  1. Prevent Repository.Head.IsCurrentRepositoryHead from throwing a NullR…

    …eferenceException when the Repository is empty
    
    Fix issue #105
    nulltoken committed Feb 1, 2012
Commits on Jan 31, 2012
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.
    uluhonolulu 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