diff options
Diffstat (limited to 'pkg/gui/custom_commands.go')
-rw-r--r-- | pkg/gui/custom_commands.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/gui/custom_commands.go b/pkg/gui/custom_commands.go index 6b86b07fd..f1fadeb5f 100644 --- a/pkg/gui/custom_commands.go +++ b/pkg/gui/custom_commands.go @@ -16,6 +16,7 @@ type CustomCommandObjects struct { SelectedReflogCommit *models.Commit SelectedSubCommit *models.Commit SelectedFile *models.File + SelectedPath string SelectedLocalBranch *models.Branch SelectedRemoteBranch *models.RemoteBranch SelectedRemote *models.Remote @@ -29,6 +30,7 @@ type CustomCommandObjects struct { func (gui *Gui) resolveTemplate(templateStr string, promptResponses []string) (string, error) { objects := CustomCommandObjects{ SelectedFile: gui.getSelectedFile(), + SelectedPath: gui.getSelectedPath(), SelectedLocalCommit: gui.getSelectedLocalCommit(), SelectedReflogCommit: gui.getSelectedReflogCommit(), SelectedLocalBranch: gui.getSelectedBranch(), |