[Bf-committers] Proposal: Add a git blame ignore file to the repo.
ankitjmeel at gmail.com
Fri Oct 16 16:29:08 CEST 2020
Git 2.23 introduced `--ignore-rev <rev>` option to ignore revisions
and `--ignore-revs-file <file>` to do so in bulk. 
 D9234 proposes adding a file to the repo to list commits, for which
the committer does not deserve to be blamed. An initial list is there in the file,
one may remember some of them,
- ClangFormat: apply to source, most of intern
- Code Style: use "#pragma once" in source directory
- Cleanup: use C comments for descriptive text
After the diff is committed, one would need to run the following for it
to take effect.
git config blame.ignoreRevsFile .gitblame-ignore-revs
Or to test it,
git blame --ignore-revs-file=.gitblame-ignore-revs <other options>
The Tools/Git page on the wiki will also be updated.
More information about the Bf-committers