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.68k stars 5.46k forks source link

Can I get the difference between different versions through API? #5561

Open mojie126 opened 5 years ago

mojie126 commented 5 years ago

Description

Can I get the difference between different versions through API?

Screenshots

kolaente commented 5 years ago

You mean the differences between two commits? AFAIK currently not, but you can get the differences between two branches when appending compare/master...other-branch to the url of your repo

mojie126 commented 5 years ago

You mean the differences between two commits? AFAIK currently not, but you can get the differences between two branches when appending compare/master...other-branch to the url of your repo

Hopefully, you can get the list of differences by API

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.

tboerger commented 5 years ago

That should be implemented for the linked drone pull request.

Coding-Kiwi commented 3 years ago

Yes this would be awesome! An endpoint for pull request diffs is already there, is this feature much work?

dineshsalunke commented 2 years ago

BUMP, any idea on when can we expect this feature or if it even is in works ? I don't mind taking a jab at this, we need this feature for the above drone related pull request too. ( Note: I am a newbie in go )