Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (14 sloc) 334 Bytes
namespace LibGit2Sharp
{
internal class DetachedHead : Branch
{
internal DetachedHead(Repository repo, Reference reference)
: base(repo, reference, "(no branch)")
{
}
protected override string Shorten(string branchName)
{
return branchName;
}
}
}
Something went wrong with that request. Please try again.