.git-blame-ignore-revs file is not taken into account

With .git-blame-ignore-revs file one can specify revisions, which should be ignored by git blame.
This file is not taken into account by sonar scanner, when collecting the information from git, which leads to incorrect git blame information being saved in Sonar.

Hello @Michael_Kraft,

You can try to force the scanner to use the native git blame strategy by setting the analysis property sonar.scm.use.blame.algorithm=GIT_NATIVE_BLAME.
However, this may have a performance impact.
Could you give it a try? Thanks.

1 Like