Skip to content

Commit b482a74

Browse files
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
1 parent 8ea4ac1 commit b482a74

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.git-blame-ignore-revs

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,33 @@
1010
# Or add it as an option
1111
# git blame --ignore-revs-file .git-blame-ignore-revs
1212

13+
# clang-format
1314
dccacdbddbc28f43a4ab9d1b63caf2fda71b1688
15+
5cbaae9c0a74a34ca86e330937b3933a05dedde1
16+
8e6c70a4bea9acb653e1aa92758057a6f9a454bf
17+
590336bc2e26633a4a181d23705340f1fd56ddd3
18+
546eae52831ba5d40ffd673835810e58f95ab4e7
19+
9f3bd43701fa51ed188b35041c6165eda89d1717
20+
9f44ec0b7b6a66174606cd28b271c56221df4d3e
21+
8a20fe58d08cd0bea18895a676926ec407f7ac93
22+
4875807c2bfb9d98fc312d9df57ce0aa418cdfa9
23+
32cacf562deb64397fa45869cbe8802f91ef5ec2
24+
00960e8b466110ea2f88974eb6c65cb6ffbe406d
25+
c5b497fa1ce925cb0bdd53cbab28cef37ad09cf7
26+
d2801502748aeb42c1261c30b712ffbfd9e86247
27+
28+
# black
1429
80a5951cd11c70f24836b934d832ef7c265daa84
30+
6e4a9320f536289b457feb7a5c10d1fda6f36367
31+
a1a298619ac4254a1e5b44c0409460833c7ab36a
32+
4de601d28e2a2aca60bcc3a733de133c6fe8270c
33+
34+
# pre-commit-ci
1535
9485437150f800515afbf15ab6ef05108714a0eb
1636
a90b115e443e27eb187aba3cd794eee591079401
37+
38+
# Fixing EOLs
39+
9d228ed7af0e27d623824291b64313c74acdb702
40+
64d42bb39a18c857bfd9d70f45ecdc0a78100eee
41+
9d73209208832b376bfd433ec7747243ab439eb1
42+
33e2b304f79487357112692140b26c5d0d228608

0 commit comments

Comments
 (0)