summaryrefslogtreecommitdiffstats
path: root/pkg/commands/commit_list_builder.go
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2019-11-21 21:09:14 +1100
committerJesse Duffield <jessedduffield@gmail.com>2019-11-21 22:07:14 +1100
commite36ee0b4f10e43734c61f537322b594a05ad20e5 (patch)
treeefdd2847277a5acbf8eef51ca92ad3f13fa860fe /pkg/commands/commit_list_builder.go
parent3c1322914518168374be02a78cee968cf1d13730 (diff)
give RunCommand the same input signature as fmt.Sprintf
Diffstat (limited to 'pkg/commands/commit_list_builder.go')
-rw-r--r--pkg/commands/commit_list_builder.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/commands/commit_list_builder.go b/pkg/commands/commit_list_builder.go
index 48ae793b6..6032704c7 100644
--- a/pkg/commands/commit_list_builder.go
+++ b/pkg/commands/commit_list_builder.go
@@ -262,7 +262,7 @@ func (c *CommitListBuilder) getMergeBase() (string, error) {
}
// swallowing error because it's not a big deal; probably because there are no commits yet
- output, _ := c.OSCommand.RunCommandWithOutput(fmt.Sprintf("git merge-base HEAD %s", baseBranch))
+ output, _ := c.OSCommand.RunCommandWithOutput("git merge-base HEAD %s", baseBranch)
return output, nil
}