mirror of
https://gitee.com/gitea/gitea
synced 2026-02-14 02:35:37 +08:00
We can look at the PushCommits object to see how many commits were included in a commit, and add some template logic to only show the comparison link when there are at least 2 commits in a push. We also correct the link to display the number of commits.
1.7 MiB
1.7 MiB