diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2021-04-05 13:22:03 +1000 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2021-04-06 19:34:32 +1000 |
commit | 7178bab6b4539f43f0dbf61549629380a8c5148d (patch) | |
tree | 06885068308f423815b541e1efc42e4fd20c4d74 /pkg/gui/quitting.go | |
parent | 2d7452bfaa519cf349f457c1123a4a15cca5eaed (diff) |
only re-use repo state when jumping in and out of submodules
Diffstat (limited to 'pkg/gui/quitting.go')
-rw-r--r-- | pkg/gui/quitting.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/gui/quitting.go b/pkg/gui/quitting.go index 778db1a61..24b92efc2 100644 --- a/pkg/gui/quitting.go +++ b/pkg/gui/quitting.go @@ -57,7 +57,7 @@ func (gui *Gui) handleTopLevelReturn() error { gui.RepoPathStack = repoPathStack[:n] - return gui.dispatchSwitchToRepo(path) + return gui.dispatchSwitchToRepo(path, true) } if gui.Config.GetUserConfig().QuitOnTopLevelReturn { |