Skip to content

Raw diff between tags and branches #13416

@pfactum

Description

@pfactum

Currently, it is possible to get a raw diff between 2 commits, for instance:

https://try.gitea.io/Etzelia/review/commit/4be8c56ae08e83c486854d9221cbd16e84607ca8...2eaa86164eb4cca84e14be1c357398c7b2c4efa2.diff

The same doesn't work, however, if tags are used instead of commit IDs, and branch names does not seem to work either. For instance:

https://try.gitea.io/ikervagyok/reflex-platform/commit/v0.5.3.0...v0.6.0.0.diff

It would be nice to have some unified URL to get a plain diff between any tags, commits and branch HEADs mix.

An example of how this works with github:

https://github.com/pfactum/pf-kernel/compare/v5.9...pf-5.9.diff

This gives a raw diff between a tag and a branch HEAD.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/enhancementAn improvement of existing functionality

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions