From a6f100096401612f3ae237d2391a50ff8c46e960 Mon Sep 17 00:00:00 2001 From: Luca Boccassi Date: Wed, 23 Dec 2020 14:03:12 +0000 Subject: [PATCH] Problem: git blame became more difficult with clang-format change Solution: let git ignore that commit when blame is ran. Requires to set a git config: git config blame.ignoreRevsFile .git-blame-ignore-revs Or to pass --ignore-revs-file .git-blame-ignore-revs to git blame. --- .git-blame-ignore-revs | 2 ++ 1 file changed, 2 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..985588ca --- /dev/null +++ b/.git-blame-ignore-revs @@ -0,0 +1,2 @@ +# tree-wide clang format +41f459e1dc6f7cdedd1268298153c970e290b2ce