Skip to content

Feature: Allow comparison of tags, etc. #3780

Closed
@ypnos

Description

@ypnos

Description

Right now the comparison functionality is unnecessarily constraint. It only allows to compare branches, but not tags or single commits. Comparing to tags would be a very useful feature; e.g. to view changes since last release, or compare different releases.

  1. Allow to provide tag names for comparison, e.g. https://try.gitea.io/hans/testa/compare/master...funny or https://try.gitea.io/hans/testa/compare/master...tag:funny

  2. Provide green comparison button for tags as well as branches, e.g. the button is currently present here:
    https://try.gitea.io/hans/testa/src/branch/master
    but not here:
    https://try.gitea.io/hans/testa/src/tag/funny

  3. While we are at it, also provide the functionality for commit hashes, e.g.
    https://try.gitea.io/hans/testa/compare/bd0928b003...master

This is also related to #1352

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue/confirmedIssue has been reviewed and confirmed to be present or accepted to be implementedtype/featureCompletely new functionality. Can only be merged if feature freeze is not active.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions