libgit2/libgit2sharp — pull request #188 by Haacked (2012-06-19 20:59:31+00:00)
Title: Made DetachedHead public

We need to be able to determine whether the current "branch" is a detached
head. But we can't compare it if the type is internal.

For example,

if (someBranch is DetachedHead) {...}

This commit makes it public and mockable.