go-gitea / gitea

Git with a cup of tea! Painless self-hosted all-in-one software development service, including Git hosting, code review, team collaboration, package registry and CI/CD
https://gitea.com
MIT License
44.42k stars 5.43k forks source link

Add "Compare" link/button #31545

Open kuraga opened 3 months ago

kuraga commented 3 months ago

Feature Description

Good day!

I feel lack of the Compare link/button.

Don't really understand, how do I compare (as a user) two commit's or release's sources? What should I click?

Propose to add the Compare link/buttons:

Thanks!

Screenshots

No response

kemzeb commented 3 months ago

I don't see any associated Gitea documentation (which maybe should be there), but you can compare two commits/tags/branches by following the steps mentioned in the GitHub docs.

It was introduced in #6991, and after manually testing it by following these docs it works fine.

This does not mean we should blindly follow GitHub; I would welcome some way to access this compare web UI in a more convenient way.