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

Merge pull request #1950 from HiromasaNojima/add_subcommand_into_specific_layout_directly

This commit is contained in:
Jesse Duffield
2022-06-11 11:51:14 +10:00
committed by GitHub
23 changed files with 153 additions and 25 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,