mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-22 04:34:59 +00:00
fix<CreateBranch>: fix branch name binding issue
This commit is contained in:
parent
c7c0c07062
commit
db9d8c8e99
2 changed files with 9 additions and 0 deletions
|
@ -117,6 +117,14 @@ namespace SourceGit.Commands {
|
|||
}
|
||||
}
|
||||
|
||||
decorators.Sort((l, r) => {
|
||||
if (l.Type != r.Type) {
|
||||
return (int)l.Type - (int)r.Type;
|
||||
} else {
|
||||
return l.Name.CompareTo(r.Name);
|
||||
}
|
||||
});
|
||||
|
||||
return isHeadOfCurrent;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue