From d6de035ca291462b61efcbe3a9f16d6f5415254a Mon Sep 17 00:00:00 2001 From: a-kenji Date: Mon, 4 Apr 2022 19:40:40 +0200 Subject: [PATCH] add: `.git-blame-ignore-revs` file 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 ``` --- .git-blame-ignore-revs | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .git-blame-ignore-revs diff --git a/.git-blame-ignore-revs b/.git-blame-ignore-revs new file mode 100644 index 0000000000..46eb34b936 --- /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