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

Closed
opened 2025-11-02 04:44:01 -06:00 by GiteaMirror · 7 comments
Owner

Originally created by @mojie126 on GitHub (Dec 19, 2018).

Originally assigned to: @noerw on GitHub.

  • Gitea version (or commit ref):
  • Git version:
  • Operating system:
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

Description

Can I get the difference between different versions through API?

Screenshots

Originally created by @mojie126 on GitHub (Dec 19, 2018). Originally assigned to: @noerw on GitHub. <!-- 1. Please speak English, this is the language all of us can speak and write. 2. Please ask questions or configuration/deploy problems on our Discord server (https://discord.gg/NsatcWJ) or forum (https://discourse.gitea.io). 3. Please take a moment to check that your issue doesn't already exist. 4. Please give all relevant information below for bug reports, because incomplete details will be handled as an invalid report. --> - Gitea version (or commit ref): - Git version: - Operating system: - Database (use `[x]`): - [ ] PostgreSQL - [x] MySQL - [ ] MSSQL - [ ] SQLite - Can you reproduce the bug at https://try.gitea.io: - [ ] Yes (provide example URL) - [ ] No - [ ] Not relevant - Log gist: ## Description Can I get the difference between different versions through API? ## Screenshots <!-- **If this issue involves the Web Interface, please include a screenshot** -->
GiteaMirror added the issue/confirmedtype/enhancementmodifies/api labels 2025-11-02 04:44:01 -06:00
Author
Owner

@kolaente commented on GitHub (Dec 22, 2018):

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

@kolaente commented on GitHub (Dec 22, 2018): 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
Author
Owner

@mojie126 commented on GitHub (Jan 15, 2019):

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

@mojie126 commented on GitHub (Jan 15, 2019): > 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
Author
Owner

@stale[bot] commented on GitHub (Mar 16, 2019):

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.

@stale[bot] commented on GitHub (Mar 16, 2019): 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.
Author
Owner

@tboerger commented on GitHub (Oct 5, 2019):

That should be implemented for the linked drone pull request.

@tboerger commented on GitHub (Oct 5, 2019): That should be implemented for the linked drone pull request.
Author
Owner

@Coding-Kiwi commented on GitHub (Jan 12, 2021):

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

@Coding-Kiwi commented on GitHub (Jan 12, 2021): Yes this would be awesome! An endpoint for pull request diffs is already there, is this feature much work?
Author
Owner

@dineshsalunke commented on GitHub (Nov 7, 2021):

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 )

@dineshsalunke commented on GitHub (Nov 7, 2021): 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 )
Author
Owner

@wxiaoguang commented on GitHub (Dec 12, 2024):

I think most work should have been done in feat(api): implement branch/commit comparison API #30349 and Make API "compare" accept commit IDs #32801

@wxiaoguang commented on GitHub (Dec 12, 2024): I think most work should have been done in feat(api): implement branch/commit comparison API #30349 and Make API "compare" accept commit IDs #32801
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#2671