Skip to content

Commit 8844e62

Browse files
git graph: don't show detached commits (go-gitea#33645) (go-gitea#33650)
Backport go-gitea#33645 by ericLemanissier Co-authored-by: ericLemanissier <[email protected]>
1 parent de70265 commit 8844e62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/gitgraph/graph.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ func GetCommitGraph(r *git.Repository, page, maxAllowedColors int, hidePRRefs bo
2929
}
3030

3131
if len(branches) == 0 {
32-
graphCmd.AddArguments("--all")
32+
graphCmd.AddArguments("--tags", "--branches")
3333
}
3434

3535
graphCmd.AddArguments("-C", "-M", "--date=iso-strict").

0 commit comments

Comments
 (0)