git graph: don't show detached commits (#33645) (#33650)

Backport #33645 by ericLemanissier

Co-authored-by: ericLemanissier <ericLemanissier@users.noreply.github.com>
pull/33661/head
Giteabot 1 week ago committed by GitHub
parent de7026528b
commit 8844e62cb4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -29,7 +29,7 @@ func GetCommitGraph(r *git.Repository, page, maxAllowedColors int, hidePRRefs bo
} }
if len(branches) == 0 { if len(branches) == 0 {
graphCmd.AddArguments("--all") graphCmd.AddArguments("--tags", "--branches")
} }
graphCmd.AddArguments("-C", "-M", "--date=iso-strict"). graphCmd.AddArguments("-C", "-M", "--date=iso-strict").

Loading…
Cancel
Save