summaryrefslogtreecommitdiffstats
path: root/pkg/gui/diffing.go
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2020-09-28 08:21:53 +1000
committerJesse Duffield <jessedduffield@gmail.com>2020-09-29 18:21:59 +1000
commitca437a65046d5af0c90c337b125af4538e625502 (patch)
treead0d55ed71cd0aa0015f0f1d8f8e4a2190134a45 /pkg/gui/diffing.go
parent72a31aed769e5d3d04d067cae4e13d8b9b42218e (diff)
support submodules
Diffstat (limited to 'pkg/gui/diffing.go')
-rw-r--r--pkg/gui/diffing.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/gui/diffing.go b/pkg/gui/diffing.go
index a02c3d337..7da33dee0 100644
--- a/pkg/gui/diffing.go
+++ b/pkg/gui/diffing.go
@@ -14,7 +14,7 @@ func (gui *Gui) exitDiffMode() error {
func (gui *Gui) renderDiff() error {
cmd := gui.OSCommand.ExecutableFromString(
- fmt.Sprintf("git diff --no-ext-diff --color %s", gui.diffStr()),
+ fmt.Sprintf("git diff --submodule --no-ext-diff --color %s", gui.diffStr()),
)
task := gui.createRunPtyTask(cmd)