mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-06-17 00:18:05 +02:00
WIP Show both ahead and behind
This commit is contained in:
committed by
Jesse Duffield
parent
6eaece3696
commit
6d2ec43596
@ -36,6 +36,12 @@ type Branch struct {
|
||||
// determined yet, or up to date with base branch. (We don't need to
|
||||
// distinguish the two, as we don't draw anything in both cases.)
|
||||
BehindBaseBranch atomic.Int32
|
||||
|
||||
// How far our branch is ahead of its base branch. 0 means either not
|
||||
// determined yet, or there are no commits on this branch yet, or the branch
|
||||
// is already merged. (We don't need to distinguish these, as we don't draw
|
||||
// anything in all these cases.)
|
||||
AheadOfBaseBranch atomic.Int32
|
||||
}
|
||||
|
||||
func (b *Branch) FullRefName() string {
|
||||
|
Reference in New Issue
Block a user