1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2024-11-30 09:16:47 +02:00

make branches and files non-ambiguous for git-log

fixes #694
This commit is contained in:
skwerlman 2020-03-05 16:15:44 -05:00 committed by Jesse Duffield
parent b43540820b
commit 6ca08c6519

View File

@ -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