mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-09-07 15:33:26 +00: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. |
||
---|---|---|
.. | ||
auth | ||
avatar | ||
base | ||
bindata | ||
cron | ||
git | ||
httplib | ||
log | ||
mailer | ||
middleware | ||
process | ||
setting | ||
ssh | ||
template | ||
user | ||
uuid |