Allow tags and 'HEAD' in compare endpoint #221

Closed
opened 2025-11-02 03:14:26 -06:00 by GiteaMirror · 4 comments
Owner

Originally created by @sonallux on GitHub (Jan 11, 2017).

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

Description

I am missing the option to also compare tags and 'HEAD' in the compare endpoint. Github allows there also tags and HEAD.

For example on github this is possible: https://github.com/go-gitea/gitea/compare/v1.0.0...HEAD

But with gitea it is not: https://try.gitea.io/gitea/gitea/compare/v1.0.0...HEAD

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/40865235-allow-tags-and-head-in-compare-endpoint?utm_campaign=plugin&utm_content=tracker%2F47456670&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F47456670&utm_medium=issues&utm_source=github).
Originally created by @sonallux on GitHub (Jan 11, 2017). - Gitea version (or commit ref): 1.0.1 - Git version: not relevant - Operating system: not relevant - Database (use `[x]`): - [ ] PostgreSQL - [ ] MySQL - [x] SQLite - Can you reproduce the bug at https://try.gitea.io: - [x] Yes (provide example URL) - [ ] No - [ ] Not relevant - Log gist: not relevant ## Description I am missing the option to also compare tags and 'HEAD' in the compare endpoint. Github allows there also tags and HEAD. For example on github this is possible: https://github.com/go-gitea/gitea/compare/v1.0.0...HEAD But with gitea it is not: https://try.gitea.io/gitea/gitea/compare/v1.0.0...HEAD <bountysource-plugin> --- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/40865235-allow-tags-and-head-in-compare-endpoint?utm_campaign=plugin&utm_content=tracker%2F47456670&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F47456670&utm_medium=issues&utm_source=github). </bountysource-plugin>
GiteaMirror added the topic/uiissue/confirmedtype/featuretype/enhancement labels 2025-11-02 03:14:26 -06:00
Author
Owner

@wxd237 commented on GitHub (Jan 13, 2017):

I think compare between versionid and 'HEAD' is also need.such as master...56b0228e72b9f62af41aa3e7c6b38f47424f5b47

@wxd237 commented on GitHub (Jan 13, 2017): I think compare between versionid and 'HEAD' is also need.such as `master...56b0228e72b9f62af41aa3e7c6b38f47424f5b47`
Author
Owner

@stale[bot] commented on GitHub (Feb 15, 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 (Feb 15, 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

@ParticleCore commented on GitHub (May 22, 2019):

Any update on this feature? It is the only thing that is preventing us from migrating to Gitea, we make heavy use of the tag compare for tracking changes between versions as well as presenting them in the changelogs.

@ParticleCore commented on GitHub (May 22, 2019): Any update on this feature? It is the only thing that is preventing us from migrating to Gitea, we make heavy use of the tag compare for tracking changes between versions as well as presenting them in the changelogs.
Author
Owner

@sonallux commented on GitHub (Aug 2, 2019):

Closing, as this is fixed in 1.9.0 by #6991

@sonallux commented on GitHub (Aug 2, 2019): Closing, as this is fixed in 1.9.0 by #6991
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#221