libgit2/libgit2sharp — pull request #355 by jamill (2013-02-26 15:10:18+00:00)
Title: Allow commits on any unparented branch

LibGit2Sharp will currently only allow a commit on an "orphaned" or unparented branch if the libgit2 repository is "empty" - in particular, an initial commit is only allowed on the "master" branch.

This PR changes the condition that is checked for the initial commit to see if the current branch is orphaned.