summaryrefslogtreecommitdiffstats
path: root/modules/log/log.go
diff options
context:
space:
mode:
authorAngus Gibson <angus.gibson@anu.edu.au>2015-12-09 14:36:39 +1100
committerAngus Gibson <angus.gibson@anu.edu.au>2015-12-09 14:36:39 +1100
commit06d293a84e73dfbd871c9fa6325cd352e016466c (patch)
tree51d17bc53ab484ac08d8f74f4dab06d55335a8d5 /modules/log/log.go
parent120cd4e4716d11f79a7e8c41c066383e579d480a (diff)
downloadgitea-06d293a84e73dfbd871c9fa6325cd352e016466c.tar.gz
gitea-06d293a84e73dfbd871c9fa6325cd352e016466c.zip
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.
Diffstat (limited to 'modules/log/log.go')
0 files changed, 0 insertions, 0 deletions