Skip to content

Add .git-blame-ignore-revs file

Illya Klymov requested to merge xanf-add-ignore-revs into master

What does this MR do and why?

During my regular workflow I often deal with legacy code. git blame is invaluable tool, which helps me to figure out relevant commit and understand why certain change was made

Unfortunately, there are certain commits which disrupt ownership - the best example is running prettier - you will take owhership of all lines which were changed by prettier

git v2.23 introduced --ignore-revs-file option for git blame which allows you to pass a file for igniring such commits or configure git blame to always take this file into account

This MR brings such file to GitLab

https://chromium.googlesource.com/chromium/src.git/+/f0596779e57f46fccb115a0fd65f0305894e3031/.git-blame-ignore-revs was used as inspiration

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports