1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-05-27 23:08:02 +02:00

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

This commit is contained in:
Jesse Duffield 2024-05-19 17:24:19 +10:00
parent de7ee9af21
commit 3dc960b475

View File

@ -56,8 +56,6 @@ func (self *ExistingMainBranches) determineMainBranches() []string {
for i, branchName := range self.configuredMainBranches {
wg.Add(1)
i := i
branchName := branchName
go utils.Safe(func() {
defer wg.Done()