mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-09-16 09:16:26 +02:00
Rename Pushables/Pullables to AheadForPull/BehindForPull
In preparation for adding AheadForPush/BehindForPush in the next commit.
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user