diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2021-12-30 13:44:41 +1100 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2022-01-04 09:07:15 +1100 |
commit | 96c2887fd0c1ca95e6b3d55756be8d424f8d905a (patch) | |
tree | 6973630fba55d6d6e3c7720db0682ec22d4094d5 /pkg/gui/commits_panel.go | |
parent | 66e840bc3f83903852408ed8db0be0c6153b5487 (diff) |
WIP
Diffstat (limited to 'pkg/gui/commits_panel.go')
-rw-r--r-- | pkg/gui/commits_panel.go | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/pkg/gui/commits_panel.go b/pkg/gui/commits_panel.go index cd85dafd5..2fd04475a 100644 --- a/pkg/gui/commits_panel.go +++ b/pkg/gui/commits_panel.go @@ -4,7 +4,6 @@ import ( "fmt" "sync" - "github.com/jesseduffield/lazygit/pkg/commands" "github.com/jesseduffield/lazygit/pkg/commands/loaders" "github.com/jesseduffield/lazygit/pkg/commands/models" "github.com/jesseduffield/lazygit/pkg/commands/oscommands" @@ -120,7 +119,7 @@ func (gui *Gui) refreshCommitsWithLimit() error { gui.Mutexes.BranchCommitsMutex.Lock() defer gui.Mutexes.BranchCommitsMutex.Unlock() - loader := commands.NewCommitLoader(gui.Common, gui.GitCommand, gui.OSCommand) + loader := loaders.NewCommitLoader(gui.Common, gui.GitCommand, gui.OSCommand) commits, err := loader.GetCommits( loaders.GetCommitsOptions{ @@ -143,7 +142,7 @@ func (gui *Gui) refreshRebaseCommits() error { gui.Mutexes.BranchCommitsMutex.Lock() defer gui.Mutexes.BranchCommitsMutex.Unlock() - loader := commands.NewCommitLoader(gui.Common, gui.GitCommand, gui.OSCommand) + loader := loaders.NewCommitLoader(gui.Common, gui.GitCommand, gui.OSCommand) updatedCommits, err := loader.MergeRebasingCommits(gui.State.Commits) if err != nil { |