From b82d9c67db95bf6ae8e821547c230c619dd61cf1 Mon Sep 17 00:00:00 2001 From: a-kenji Date: Mon, 4 Apr 2022 19:58:28 +0200 Subject: [PATCH] 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 ``` --- .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 00000000..46eb34b9 --- /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