diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2022-01-08 14:10:01 +1100 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2022-01-09 14:09:53 +1100 |
commit | 364c5db19cd8bc50f5142bcced1596a180b1499e (patch) | |
tree | d627878af6ff9bd87d6e90190f179628161d29d8 /pkg/gui/gui.go | |
parent | c9a0cc6b30dca6ff6c520268c10afff4e99a68e9 (diff) |
shorten name
Diffstat (limited to 'pkg/gui/gui.go')
-rw-r--r-- | pkg/gui/gui.go | 8 |
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, |