From f672902896e71db8f6f06c557be6f701e31b6e7a Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Fri, 8 Jul 2022 17:00:34 +0200 Subject: [PATCH] Add .git-blame-ignore-revs file (#2903) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This will ignore coding style change commits in GitHub’s blame UI. Same thing can be achieved locally using either `git blame --ignore-revs-file .git-blame-ignore-revs` or `git config blame.ignoreRevsFile .git-blame-ignore-revs` https://git-scm.com/docs/git-blame#Documentation/git-blame.txt---ignore-revs-fileltfilegt https://docs.github.com/en/repositories/working-with-files/using-files/viewing-a-file#ignore-commits-in-the-blame-view --- .git-blame-ignore-revs | 4 ++++ 1 file changed, 4 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..d231c97e --- /dev/null +++ b/.git-blame-ignore-revs @@ -0,0 +1,4 @@ +# Reformat code base to PSR12 +4f75591060d95208a301bc6bf460d875631b29cc +# Fix coding style missed by phpbcf +951092eef374db048b77bac85e75e3547bfac702