summaryrefslogtreecommitdiffstats
path: root/pkg/gui/tags_panel.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/gui/tags_panel.go')
-rw-r--r--pkg/gui/tags_panel.go6
1 files changed, 2 insertions, 4 deletions
diff --git a/pkg/gui/tags_panel.go b/pkg/gui/tags_panel.go
index b747c7e1a..51790fd58 100644
--- a/pkg/gui/tags_panel.go
+++ b/pkg/gui/tags_panel.go
@@ -25,10 +25,8 @@ func (gui *Gui) tagsRenderToMain() error {
if tag == nil {
task = NewRenderStringTask("No tags")
} else {
- cmd := gui.OSCommand.ExecutableFromString(
- gui.GitCommand.GetBranchGraphCmdStr(tag.Name),
- )
- task = NewRunCommandTask(cmd)
+ cmdObj := gui.GitCommand.GetBranchGraphCmdObj(tag.Name)
+ task = NewRunCommandTask(cmdObj.GetCmd())
}
return gui.refreshMainViews(refreshMainOpts{