about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-02-23 06:18:08 +0100
committerGitHub <noreply@github.com>2023-02-23 06:18:08 +0100
commitf4fa0458a97a1bab4a775983ddc68447a24fa3de (patch)
tree205f28182345beb84dffb0c7cffb5feaf30ddf73
parentd6077f895aa805394c0371365d4bf0f1c368dc02 (diff)
parent96ebb21b4ad96bd0e491432e066bb3706586fd17 (diff)
downloadrust-f4fa0458a97a1bab4a775983ddc68447a24fa3de.tar.gz
rust-f4fa0458a97a1bab4a775983ddc68447a24fa3de.zip
Rollup merge of #108358 - Nilstrieb:git-blame-ignore-my-bad-commits, r=compiler-errors
Add git config command to `.git-blame-ignore-revs`

I always have to look at the git blame for that file to find the git command in the commit message (luckily that commit isn't in the file :D), putting it directly in the file makes it easier to find. Maybe we should mention the config in some other place as well.
-rw-r--r--.git-blame-ignore-revs2
1 files changed, 2 insertions, 0 deletions
diff --git a/.git-blame-ignore-revs b/.git-blame-ignore-revs
index d20f19e60e8..353bfcb6ac1 100644
--- a/.git-blame-ignore-revs
+++ b/.git-blame-ignore-revs
@@ -1,3 +1,5 @@
+# Use `git config blame.ignorerevsfile .git-blame-ignore-revs` to make `git blame` ignore the following commits.
+
 # format the world
 a06baa56b95674fc626b3c3fd680d6a65357fe60
 # format libcore