diff options
author | skwerlman <skwerlman@users.noreply.github.com> | 2020-03-05 16:15:44 -0500 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2020-03-06 09:25:31 +1100 |
commit | 6ca08c6519d7ffd8306099fb78cad86d9168f2a3 (patch) | |
tree | 5661e970a5eed219f5f9dcf153c727f39ab571d8 | |
parent | b43540820bee29251c2039101c270d59413348c4 (diff) |
make branches and files non-ambiguous for git-log
fixes #694
-rw-r--r-- | pkg/commands/git.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 |