Skip to content

Support git-blame-ignore-revs file #26329

@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

Activity

added
type/proposalThe new feature has not been accepted yet but needs to be discussed first.
on Aug 4, 2023
added a commit that references this issue on Sep 16, 2023
ed64f1c
locked as resolved and limited conversation to collaborators on Nov 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

      Participants

      @TobiX

      Issue actions

        Support git-blame-ignore-revs file · Issue #26329 · go-gitea/gitea