From 6ca08c6519d7ffd8306099fb78cad86d9168f2a3 Mon Sep 17 00:00:00 2001 From: skwerlman Date: Thu, 5 Mar 2020 16:15:44 -0500 Subject: [PATCH] make branches and files non-ambiguous for git-log fixes #694 --- pkg/commands/git.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/commands/git.go b/pkg/commands/git.go index 3d9cd7be6..588cec80e 100644 --- a/pkg/commands/git.go +++ b/pkg/commands/git.go @@ -563,7 +563,7 @@ func (c *GitCommand) ShowCmdStr(sha string) string { } func (c *GitCommand) GetBranchGraphCmdStr(branchName string) string { - return fmt.Sprintf("git log --graph --color=always --abbrev-commit --decorate --date=relative --pretty=medium %s", branchName) + return fmt.Sprintf("git log --graph --color=always --abbrev-commit --decorate --date=relative --pretty=medium %s --", branchName) } // GetRemoteURL returns current repo remote url