Skip to content

Support git-blame-ignore-revs file #26329

Closed
@TobiX

Description

@TobiX

Feature Description

Git has the option to ignore specific revisions in its blame view. This is e.g. useful for hiding automatic refactorings or bulk-reformattings from the history (https://git-scm.com/docs/git-config#Documentation/git-config.txt-blameignoreRevsFile). It would be nice if Gitea would honour such file(s) in its blame view.

While there is no "standard" file name for a repository-wide file for this feature, the name .git-blame-ignore-revs has been adopted by most projects (and is supported by GitHub):

GitLab would also use that filename when implementing this feature:

As an example, here is a blame view which uses the file:

Screenshots

grafik

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/proposalThe new feature has not been accepted yet but needs to be discussed first.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions