Skip to content

Instantly share code, notes, and snippets.

@lukaspiatkowski
Created May 26, 2022 11:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lukaspiatkowski/5c4f9855d6487fe2a08cf32a68cded8a to your computer and use it in GitHub Desktop.
Save lukaspiatkowski/5c4f9855d6487fe2a08cf32a68cded8a to your computer and use it in GitHub Desktop.
panic: fork/exec /opt/homebrew/bin/git: too many open files
goroutine 226 [running]:
github.com/jesseduffield/lazygit/pkg/commands/loaders.(*BranchLoader).obtainBranches(0x140002929c0)
/private/tmp/lazygit-20220317-63378-100u81x/lazygit-0.34/pkg/commands/loaders/branches.go:112 +0x57c
github.com/jesseduffield/lazygit/pkg/commands/loaders.(*BranchLoader).Load(0x140002929c0, {0x140006c60d0, 0x1, 0x1})
/private/tmp/lazygit-20220317-63378-100u81x/lazygit-0.34/pkg/commands/loaders/branches.go:52 +0x30
github.com/jesseduffield/lazygit/pkg/gui.(*Gui).refreshBranches(0x1400022c5a0)
/private/tmp/lazygit-20220317-63378-100u81x/lazygit-0.34/pkg/gui/branches_panel.go:63 +0xe8
github.com/jesseduffield/lazygit/pkg/gui.(*Gui).refreshCommits.func1()
/private/tmp/lazygit-20220317-63378-100u81x/lazygit-0.34/pkg/gui/commits_panel.go:89 +0x40
github.com/jesseduffield/lazygit/pkg/utils.Safe.func1()
/private/tmp/lazygit-20220317-63378-100u81x/lazygit-0.34/pkg/utils/utils.go:95 +0x28
github.com/jesseduffield/lazygit/pkg/utils.SafeWithError(0x14000585fb8)
/private/tmp/lazygit-20220317-63378-100u81x/lazygit-0.34/pkg/utils/utils.go:106 +0x5c
github.com/jesseduffield/lazygit/pkg/utils.Safe(0x140001a8330)
/private/tmp/lazygit-20220317-63378-100u81x/lazygit-0.34/pkg/utils/utils.go:95 +0x40
created by github.com/jesseduffield/lazygit/pkg/gui.(*Gui).refreshCommits
/private/tmp/lazygit-20220317-63378-100u81x/lazygit-0.34/pkg/gui/commits_panel.go:86 +0xbc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment