summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authora-kenji <aks.kenji@protonmail.com>2022-04-04 19:58:28 +0200
committerGitHub <noreply@github.com>2022-04-04 19:58:28 +0200
commitb82d9c67db95bf6ae8e821547c230c619dd61cf1 (patch)
tree9d9e59a35e4621ceabb9e0eb9b69ecdd90ebd0aa
parent2353295eb5e8555004abec4bd8117c16e24d46c2 (diff)
add: `.git-blame-ignore-revs` file (#1295)
Add `.git-blame-ignore-revs` file. That way we can accept `fmt` and `clippy` PR's, that change quite a bit of our codebase without negatively impacting the functionality of `git blame`. Anyone wishing to use this file can set: ``` $ git config blame.ignoreRevsFile .git-blame-ignore-revs ```
-rw-r--r--.git-blame-ignore-revs6
1 files changed, 6 insertions, 0 deletions
diff --git a/.git-blame-ignore-revs b/.git-blame-ignore-revs
new file mode 100644
index 000000000..46eb34b93
--- /dev/null
+++ b/.git-blame-ignore-revs
@@ -0,0 +1,6 @@
+# This file contains a list of commits that are not likely what you
+# are looking for in a blame, such as mass reformatting or renaming.
+# You can set this file as a default ignore file for blame by running
+# the following command.
+#
+# $ git config blame.ignoreRevsFile .git-blame-ignore-revs