summaryrefslogtreecommitdiffstats
path: root/pkg/gui/presentation/branches.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/gui/presentation/branches.go')
-rw-r--r--pkg/gui/presentation/branches.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/pkg/gui/presentation/branches.go b/pkg/gui/presentation/branches.go
index 0abf2d4cd..406a580d5 100644
--- a/pkg/gui/presentation/branches.go
+++ b/pkg/gui/presentation/branches.go
@@ -196,11 +196,11 @@ func BranchStatus(
}
result := ""
- if branch.HasCommitsToPush() {
- result = fmt.Sprintf("ā†‘%s", branch.Pushables)
+ if branch.IsAheadForPull() {
+ result = fmt.Sprintf("ā†‘%s", branch.AheadForPull)
}
- if branch.HasCommitsToPull() {
- result = fmt.Sprintf("%sā†“%s", result, branch.Pullables)
+ if branch.IsBehindForPull() {
+ result = fmt.Sprintf("%sā†“%s", result, branch.BehindForPull)
}
return result