Skip to content

Ignore commits in "Open changes with previous revision" #4553

@jjspace

Description

@jjspace

Description

Recently we added a .git-blame-ignore-revs to our repo to ignore some widespread prettier formatting changes. This works great for the inline blame and blame sidepanel, with or without setting the extra command arguments (#947 (comment)).

However when using the "Open line changes with previous revision" or the "Open changes with Previous Revision" arrow in the top right it still visits these "ignored" revisions. I'd like the option to skip these commits.

If the arrow button doesn't change then I think that's ok since it still makes sense from the mental model of stepping backwards one commit at a time. However the "Open line changes..." option really should skip these. When the inline blame is on I expect clicking the "Open line changes" option to show me the changes of the commit the blame is showing so I can see more about that specific change.

This is especially weird when viewing one of the ignored commits directly and the inline blame on both sides of the git diff show the same commit because that blame is ignoring it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    triageNeeds to be looked at

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions