mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-20 19:55:00 +00:00
enhance: create branch on detached HEAD (#344)
This commit is contained in:
parent
c596427380
commit
ed2d3279e1
5 changed files with 5 additions and 5 deletions
|
@ -39,7 +39,7 @@ namespace SourceGit.Commands
|
|||
|
||||
if (refName.StartsWith(PREFIX_DETACHED, StringComparison.Ordinal))
|
||||
{
|
||||
branch.IsHead = true;
|
||||
branch.IsDetachedHead = true;
|
||||
}
|
||||
|
||||
if (refName.StartsWith(PREFIX_LOCAL, StringComparison.Ordinal))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue