From 4dc06d8810e5191334eee70bf0e1f93e734a1bc1 Mon Sep 17 00:00:00 2001 From: Darshan Sen Date: Mon, 9 May 2022 19:43:17 +0530 Subject: [PATCH] tools: add .git-blame-ignore-revs file This would make the GitHub blame UI ignore the revisions mentioned in the .git-blame-ignore-revs file. For now, it ignores the change introduced in /~https://github.com/nodejs/node/commit/6afd3fcf653ed92063bafefa83661a076d241585 as asked for in /~https://github.com/nodejs/node/pull/42752#issuecomment-1100581445. Refs: https://github.blog/changelog/2022-03-24-ignore-commits-in-the-blame-view-beta Signed-off-by: Darshan Sen --- .git-blame-ignore-revs | 2 ++ .gitignore | 1 + 2 files changed, 3 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 00000000000000..5362fd012cebbf --- /dev/null +++ b/.git-blame-ignore-revs @@ -0,0 +1,2 @@ +# doc: add node: prefix for all core modules - /~https://github.com/nodejs/node/pull/42752 +6afd3fcf653ed92063bafefa83661a076d241585 diff --git a/.gitignore b/.gitignore index bc986b3c4c0659..d51474771f47d4 100644 --- a/.gitignore +++ b/.gitignore @@ -15,6 +15,7 @@ !.eslintrc.js !.eslintrc.yaml !.flake8 +!.git-blame-ignore-revs !.gitattributes !.github !.gitignore