mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-06-04 03:09:34 +08:00
Only show comparison link for >2 commits #1110
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.
This commit is contained in:
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user