mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-08-06 11:02:41 +03:00
Moved push-pullables status to the end
This commit is contained in:
committed by
Jesse Duffield
parent
b95abd95ef
commit
822dc5dada
@@ -22,7 +22,7 @@ type Branch struct {
|
|||||||
func (b *Branch) GetDisplayStrings() []string {
|
func (b *Branch) GetDisplayStrings() []string {
|
||||||
displayName := utils.ColoredString(b.Name, b.GetColor())
|
displayName := utils.ColoredString(b.Name, b.GetColor())
|
||||||
if b.Selected && b.Pushables != "" && b.Pullables != "" {
|
if b.Selected && b.Pushables != "" && b.Pullables != "" {
|
||||||
displayName = fmt.Sprintf("↑%s↓%s %s", b.Pushables, b.Pullables, displayName)
|
displayName = fmt.Sprintf("%s ↑%s↓%s", displayName, b.Pushables, b.Pullables)
|
||||||
}
|
}
|
||||||
|
|
||||||
return []string{b.Recency, displayName}
|
return []string{b.Recency, displayName}
|
||||||
|
Reference in New Issue
Block a user