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:
parent
de7ee9af21
commit
3dc960b475
@ -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()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user