From 0ccd4c72d16a1264d6abd337e40f879e3a3cce64 Mon Sep 17 00:00:00 2001 From: Michael Davis Date: Mon, 7 Nov 2022 11:52:38 -0600 Subject: [PATCH] Ignore auto-formatting commit from git blame (#1393) Git allows ignore revisions from blame results with git blame --ignore-revs-file .git-blame-ignore-revs GitHub also allows ignoring revisions from blame results: https://docs.github.com/en/repositories/working-with-files/using-files/viewing-a-file#ignore-commits-in-the-blame-view This is usually used for large auto-formatting commits since the formatting changes are a bit noisy and can make it tricky to poke around the 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 000000000..36694b0a5 --- /dev/null +++ b/.git-blame-ignore-revs @@ -0,0 +1,2 @@ +# Apply erlfmt to the entire codebase (#1297) +c19fb7239ef6766aa7e583d1c010ac38588a3de3