summaryrefslogtreecommitdiffstats
path: root/pkg/gui/diffing.go
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2022-02-06 13:42:17 +1100
committerJesse Duffield <jessedduffield@gmail.com>2022-03-17 19:13:40 +1100
commitcd31a762b97c071fbd33ea9b82f679890e68eaa7 (patch)
tree7533f1bd20578fa81a8f8cea8772a2397dc0864a /pkg/gui/diffing.go
parentd82f175e79f18756769d91de94458b095130297c (diff)
rename OSCommand field to os
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 30af99882..a23772ab3 100644
--- a/pkg/gui/diffing.go
+++ b/pkg/gui/diffing.go
@@ -15,7 +15,7 @@ func (gui *Gui) exitDiffMode() error {
}
func (gui *Gui) renderDiff() error {
- cmdObj := gui.OSCommand.Cmd.New(
+ cmdObj := gui.os.Cmd.New(
fmt.Sprintf("git diff --submodule --no-ext-diff --color %s", gui.diffStr()),
)
task := NewRunPtyTask(cmdObj.GetCmd())