mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-20 11:44:59 +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
|
@ -189,7 +189,7 @@ namespace SourceGit.ViewModels
|
|||
{
|
||||
nodes.Sort((l, r) =>
|
||||
{
|
||||
if (l.Backend is Models.Branch { IsHead: true })
|
||||
if (l.Backend is Models.Branch { IsDetachedHead: true })
|
||||
return -1;
|
||||
|
||||
if (l.Backend is Models.Branch)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue