Skip to content

Commit 86ddbf2

Browse files
authored
Rollup merge of #95342 - jyn514:ignore-revs, r=Mark-Simulacrum
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. Before: ![image](https://user-images.githubusercontent.com/23638587/160255130-d7283cc4-4d33-4a7d-bc70-f9ce6820293c.png) After: ![image](https://user-images.githubusercontent.com/23638587/160255138-90d0325a-e063-4e0e-8cfb-732724bf6c60.png) cc https://rust-lang.zulipchat.com/#narrow/stream/122651-general/topic/Hide.20some.20commits.20in.20GitHub.20blame
2 parents c2afaba + 7a9549a commit 86ddbf2

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)