summaryrefslogtreecommitdiffstats
path: root/pkg/gui/quitting.go
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2021-04-05 13:22:03 +1000
committerJesse Duffield <jessedduffield@gmail.com>2021-04-06 19:34:32 +1000
commit7178bab6b4539f43f0dbf61549629380a8c5148d (patch)
tree06885068308f423815b541e1efc42e4fd20c4d74 /pkg/gui/quitting.go
parent2d7452bfaa519cf349f457c1123a4a15cca5eaed (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.go2
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 {