summaryrefslogtreecommitdiffstats
path: root/pkg/git
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2018-08-14 18:02:14 +1000
committerJesse Duffield <jessedduffield@gmail.com>2018-08-14 18:02:14 +1000
commit1c750fdb400eca46ed6b94c72ff6e3f5d8ce365f (patch)
tree378d3ae32239ae491718e542734a5fd76ae5f58c /pkg/git
parent9ecd7908aaefcda1f3654728aa20a4f5ca648b5c (diff)
fix reflog command
Diffstat (limited to 'pkg/git')
-rw-r--r--pkg/git/branch_list_builder.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/git/branch_list_builder.go b/pkg/git/branch_list_builder.go
index 384d5b864..41e59c093 100644
--- a/pkg/git/branch_list_builder.go
+++ b/pkg/git/branch_list_builder.go
@@ -46,7 +46,7 @@ func (b *BranchListBuilder) obtainCurrentBranch() commands.Branch {
func (b *BranchListBuilder) obtainReflogBranches() []commands.Branch {
branches := make([]commands.Branch, 0)
- rawString, err := b.GitCommand.OSCommand.RunDirectCommand("git reflog -n100 --pretty='%cr|%gs' --grep-reflog='checkout: moving' HEAD")
+ rawString, err := b.GitCommand.OSCommand.RunCommandWithOutput("git reflog -n100 --pretty='%cr|%gs' --grep-reflog='checkout: moving' HEAD")
if err != nil {
return branches
}