Skip to content

Enhance /compare/ for tags and abbreviated commit shas #4567

@ghost

Description

Gitea version (or commit ref): 55d9ddf

Description

This works:
/compare/d40cdb7ded29d1f406a2575ee03030b32f6d7114...2964016d5ae44fb587b96802f4e2bceadff6b2ee

This doesn't but probably should:
/compare/d40cdb7...2964016

This doesn't but probably should:
/compare/v1.1.1...v1.1.2

Basically anything that is commitish should compare with assumption 7 chars in the commit sha is enough to ensure uniqueness.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/enhancementAn improvement of existing functionalitytype/proposalThe new feature has not been accepted yet but needs to be discussed first.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions