Skip to content

Commit 7a9549a

Browse files
committed
Ignore "format the world" commit in git blame
This tells github to hide it in its blame view: https://docs.github.com/en/repositories/working-with-files/using-files/viewing-a-file#ignore-commits-in-the-blame-view It can also be used locally by running `git config blame.ignorerevsfile .git-blame-ignore-revs` (although it's advised to avoid `--global` since git gives a hard error when the file doesn't exist). We may want to add more commits in later PRs, but this should be a good start.
1 parent 37b55c8 commit 7a9549a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.git-blame-ignore-revs

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# format the world
2+
a06baa56b95674fc626b3c3fd680d6a65357fe60
3+
# format libcore
4+
95e00bfed801e264e9c4ac817004153ca0f19eb6
5+
# reformat with new rustfmt
6+
971c549ca334b7b7406e61e958efcca9c4152822

0 commit comments

Comments
 (0)