diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2020-09-30 08:27:23 +1000 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2020-10-02 08:09:42 +1000 |
commit | 7b4a0f20b26d884cb756f09bc7514e57941709d4 (patch) | |
tree | 89fe1962fd3bc4b2b8a58b41eef15191839df909 /pkg/gui/diffing.go | |
parent | 3b93b5dde410fbed657f04c16d6b89c80c5be861 (diff) |
add submodules context
Diffstat (limited to 'pkg/gui/diffing.go')
-rw-r--r-- | pkg/gui/diffing.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkg/gui/diffing.go b/pkg/gui/diffing.go index 7da33dee0..58a549d62 100644 --- a/pkg/gui/diffing.go +++ b/pkg/gui/diffing.go @@ -34,7 +34,8 @@ func (gui *Gui) currentDiffTerminals() []string { switch gui.currentContext().GetKey() { case "": return nil - case FILES_CONTEXT_KEY: + case FILES_CONTEXT_KEY, SUBMODULES_CONTEXT_KEY: + // TODO: should we just return nil here? return []string{""} case COMMIT_FILES_CONTEXT_KEY: return []string{gui.State.Panels.CommitFiles.refName} |