Skip to content

Commit

Permalink
fixup! Show divergence from base branch in branches list
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanhaller committed Jun 3, 2024
1 parent ea173cf commit aaa4578
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkg/gui/controllers/helpers/refresh_helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -267,9 +267,11 @@ func (self *RefreshHelper) refreshReflogCommitsConsideringStartup() {
}

func (self *RefreshHelper) refreshReflogAndBranches(refreshWorktrees bool, keepBranchSelectionIndex bool) {
loadBehindCounts := self.c.State().GetRepoState().GetStartupStage() == types.COMPLETE

self.refreshReflogCommitsConsideringStartup()

self.refreshBranches(refreshWorktrees, keepBranchSelectionIndex, false)
self.refreshBranches(refreshWorktrees, keepBranchSelectionIndex, loadBehindCounts)
}

func (self *RefreshHelper) refreshCommitsAndCommitFiles() {
Expand Down

0 comments on commit aaa4578

Please sign in to comment.