support detached heads when showing the selected branch

This commit is contained in:
Jesse Duffield
2019-11-21 22:07:14 +11:00
parent 6b7aaeca45
commit 55ff0c0dee
5 changed files with 39 additions and 7 deletions
+3 -2
View File
@@ -6,8 +6,9 @@ import (
// Remote Branch : A git remote branch
type RemoteBranch struct {
Name string
Selected bool
Name string
Selected bool
RemoteName string
}
// GetDisplayStrings returns the display string of branch