mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-09-10 15:46:26 -04:00
We want to mark all local branch heads with a "*" in the local commits panel, to make it easier to see how branches are stacked onto each other. In order to not confuse users with "*" markers that they don't understand, do this only for the case where users actually use stacked branches; those users are likely not going to be confused by the display. This means we want to filter out a few branch heads that shouldn't get the marker: the current branch, any main branch, and any old branch that has been merged to master already. |
||
|---|---|---|
| .. | ||
| authors | ||
| graph | ||
| icons | ||
| branches.go | ||
| commits.go | ||
| commits_test.go | ||
| files.go | ||
| files_test.go | ||
| menu.go | ||
| reflog_commits.go | ||
| remote_branches.go | ||
| remotes.go | ||
| stash_entries.go | ||
| status.go | ||
| submodules.go | ||
| suggestions.go | ||
| tags.go | ||
| working_tree.go | ||
| worktrees.go | ||