summaryrefslogtreecommitdiffstats
path: root/pkg/gui/view_helpers.go
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2020-08-15 17:01:43 +1000
committerJesse Duffield <jessedduffield@gmail.com>2020-08-15 18:01:43 +1000
commit15229bbdab5d99ce7f390a7e215a572ab155a5ac (patch)
tree37b8bf40eef59c13b198b14dce679e1afcfcc85b /pkg/gui/view_helpers.go
parent63e6eea9ecd52c908e75f9f1d456589d1574872e (diff)
more removing of g and v
Diffstat (limited to 'pkg/gui/view_helpers.go')
-rw-r--r--pkg/gui/view_helpers.go12
1 files changed, 6 insertions, 6 deletions
diff --git a/pkg/gui/view_helpers.go b/pkg/gui/view_helpers.go
index 2114ac073..64fa35cdf 100644
--- a/pkg/gui/view_helpers.go
+++ b/pkg/gui/view_helpers.go
@@ -234,22 +234,22 @@ func (gui *Gui) newLineFocused(g *gocui.Gui, v *gocui.View) error {
case "remote-branches":
return gui.handleRemoteBranchSelect()
case "tags":
- return gui.handleTagSelect(g, v)
+ return gui.handleTagSelect()
default:
return errors.New("unknown branches panel context: " + branchesView.Context)
}
case "commits":
- return gui.handleCommitSelect(g, v)
+ return gui.handleCommitSelect()
case "commitFiles":
- return gui.handleCommitFileSelect(g, v)
+ return gui.handleCommitFileSelect()
case "stash":
- return gui.handleStashEntrySelect(g, v)
+ return gui.handleStashEntrySelect()
case "confirmation":
return nil
case "commitMessage":
- return gui.handleCommitFocused(g, v)
+ return gui.handleCommitFocused()
case "credentials":
- return gui.handleCredentialsViewFocused(g, v)
+ return gui.handleCredentialsViewFocused()
case "main":
if gui.State.MainContext == "merging" {
return gui.refreshMergePanel()