Skip to content

OpenGrok Annotate and Git blame.ignoreRevsFile #4806

@sreehari83

Description

@sreehari83

We want to leverage git blame --ignore-revs-file in our development workflows to effectively filter out large, non-functional commits (like automated code formatting or mass refactoring/renaming) from the blame history. This significantly improves the signal-to-noise ratio when trying to understand code authorship.

We were wondering if this git config blame.ignoreRevsFile configuration (or the concept behind it) is applicable to the OpenGrok "Annotate" view?

Specifically, if we define .git-blame-ignore-revs files within our Git repositories and set the blame.ignoreRevsFile config at a repository level, would OpenGrok's Annotate feature automatically pick up and respect these ignored revisions when displaying the history for a line of code?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions