mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-08-07 22:02:56 +03:00
refactor how we handle different modes
This commit is contained in:
@@ -31,7 +31,7 @@ func (gui *Gui) handleCreateRecentReposMenu() error {
|
||||
return err
|
||||
}
|
||||
gui.GitCommand = newGitCommand
|
||||
gui.State.FilterPath = ""
|
||||
gui.State.Modes.Filtering.Path = ""
|
||||
return gui.Errors.ErrSwitchRepo
|
||||
},
|
||||
}
|
||||
|
Reference in New Issue
Block a user