1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-09-16 09:16:26 +02:00

Factor out CommitLoader.mainBranches into its own class, and store it in Model

This commit is contained in:
Stefan Haller
2024-04-29 18:37:34 +02:00
parent b2011dca35
commit f4d922bc80
7 changed files with 116 additions and 68 deletions

View File

@@ -281,6 +281,8 @@ type Model struct {
// we're on a detached head because we're rebasing or bisecting.
CheckedOutBranch string
MainBranches *git_commands.MainBranches
// for displaying suggestions while typing in a file name
FilesTrie *patricia.Trie