summaryrefslogtreecommitdiffstats
path: root/pkg/gui/gui.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/gui/gui.go')
-rw-r--r--pkg/gui/gui.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/pkg/gui/gui.go b/pkg/gui/gui.go
index e6aaa6186..41ccf2283 100644
--- a/pkg/gui/gui.go
+++ b/pkg/gui/gui.go
@@ -68,9 +68,9 @@ type Repo string
// Gui wraps the gocui Gui object which handles rendering and events
type Gui struct {
*common.Common
- g *gocui.Gui
- GitCommand *commands.GitCommand
- OSCommand *oscommands.OSCommand
+ g *gocui.Gui
+ Git *commands.GitCommand
+ OSCommand *oscommands.OSCommand
// this is the state of the GUI for the current repo
State *guiState
@@ -471,7 +471,7 @@ func NewGui(
gui.OSCommand = osCommand
var err error
- gui.GitCommand, err = commands.NewGitCommand(
+ gui.Git, err = commands.NewGitCommand(
cmn,
osCommand,
gitConfig,