You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update .git-blame-ignore-revs with files that have >5000 lines changed (#39897)
### Description of work
Make the list of files to ignore more complete
This should work with github automatically, see
https://docs.github.com/en/repositories/working-with-files/using-files/viewing-and-understanding-files#ignore-commits-in-the-blame-view
FYI I used the following to generate a list of commits with the largest
number of changes
```
git log --pretty=format:"%H|%an|%s" --shortstat | awk '
BEGIN { FS="|" }
/^[a-f0-9]{40}\|/ {
split($0, parts, "|")
sha = parts[1]
author = parts[2]
message = parts[3]
added = 0
}
/insertion/ {
if (match($0, /([0-9]+) insertion/, a)) {
added = a[1]
}
print added, sha, author, message
}
' | sort -rn | head -1000
```
<!-- If issue raised by user. Do not leak email addresses.
**Report to:** [user name]
-->
### To test:
`git blame --ignore-revs-file .git-blame-ignore-revs` should look
different to `git blame`.
*This does not require release notes* because this is for developers
only
0 commit comments