Skip to content

Commit aaa4578

Browse files
committed
fixup! Show divergence from base branch in branches list
1 parent ea173cf commit aaa4578

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pkg/gui/controllers/helpers/refresh_helper.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,9 +267,11 @@ func (self *RefreshHelper) refreshReflogCommitsConsideringStartup() {
267267
}
268268

269269
func (self *RefreshHelper) refreshReflogAndBranches(refreshWorktrees bool, keepBranchSelectionIndex bool) {
270+
loadBehindCounts := self.c.State().GetRepoState().GetStartupStage() == types.COMPLETE
271+
270272
self.refreshReflogCommitsConsideringStartup()
271273

272-
self.refreshBranches(refreshWorktrees, keepBranchSelectionIndex, false)
274+
self.refreshBranches(refreshWorktrees, keepBranchSelectionIndex, loadBehindCounts)
273275
}
274276

275277
func (self *RefreshHelper) refreshCommitsAndCommitFiles() {

0 commit comments

Comments
 (0)