summaryrefslogtreecommitdiffstats
path: root/pkg/gui/files_panel.go
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2020-11-25 08:52:00 +1100
committerJesse Duffield <jessedduffield@gmail.com>2020-11-28 10:45:30 +1100
commit999e170f1d17b652dad231f1cbde6ab4bbeae8c7 (patch)
tree3a7ea186c3b868661242731a029dce3df396de1e /pkg/gui/files_panel.go
parent7513bfb13a48c566e9ab0c31e259ea73d562c292 (diff)
standardise how we read from the config
Diffstat (limited to 'pkg/gui/files_panel.go')
-rw-r--r--pkg/gui/files_panel.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/gui/files_panel.go b/pkg/gui/files_panel.go
index 26d7e1bb1..1d17b7771 100644
--- a/pkg/gui/files_panel.go
+++ b/pkg/gui/files_panel.go
@@ -417,7 +417,7 @@ func (gui *Gui) PrepareSubProcess(command string) {
}
func (gui *Gui) editFile(filename string) error {
- _, err := gui.runSyncOrAsyncCommand(gui.OSCommand.EditFile(filename))
+ _, err := gui.runSyncOrAsyncCommand(gui.GitCommand.EditFile(filename))
return err
}