1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-30 03:23:08 +03:00

allow opening lazygit to a specific panel

This commit is contained in:
Jesse Duffield
2022-06-09 19:52:08 +10:00
parent 36aa01c3ac
commit b1e4968d0b
22 changed files with 152 additions and 24 deletions

View File

@ -79,7 +79,7 @@ func (gui *Gui) dispatchSwitchToRepo(path string, reuse bool) error {
gui.Mutexes.RefreshingFilesMutex.Lock()
defer gui.Mutexes.RefreshingFilesMutex.Unlock()
return gui.onNewRepo("", reuse)
return gui.onNewRepo(types.StartArgs{}, reuse)
}
// updateRecentRepoList registers the fact that we opened lazygit in this repo,