diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2020-09-26 17:50:22 +1000 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2020-09-27 09:49:30 +1000 |
commit | 266d8bf0d5d3797c8fc97a29ccc0aad9229b6d58 (patch) | |
tree | 9ada51904547a54149169ab15b8a4f3d4a57bcb4 /pkg/gui/custom_commands.go | |
parent | da8eac5538b236e4b79e3bab6465e8d5666c48e0 (diff) |
minor fixup
Diffstat (limited to 'pkg/gui/custom_commands.go')
-rw-r--r-- | pkg/gui/custom_commands.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/gui/custom_commands.go b/pkg/gui/custom_commands.go index 190fc5586..7181ec2e2 100644 --- a/pkg/gui/custom_commands.go +++ b/pkg/gui/custom_commands.go @@ -20,7 +20,7 @@ type CustomCommandObjects struct { SelectedTag *commands.Tag SelectedStashEntry *commands.StashEntry SelectedCommitFile *commands.CommitFile - CurrentBranch *commands.Branch + CheckedOutBranch *commands.Branch } func (gui *Gui) handleCustomCommandKeybinding(customCommand CustomCommand) func() error { @@ -36,7 +36,7 @@ func (gui *Gui) handleCustomCommandKeybinding(customCommand CustomCommand) func( SelectedStashEntry: gui.getSelectedStashEntry(), SelectedCommitFile: gui.getSelectedCommitFile(), SelectedSubCommit: gui.getSelectedSubCommit(), - CurrentBranch: gui.currentBranch(), + CheckedOutBranch: gui.currentBranch(), } tmpl, err := template.New("custom command template").Parse(customCommand.Command) |