From 77d4e909f88ed8ce7b8e7092aa0780de7dfd89f4 Mon Sep 17 00:00:00 2001 From: Matt Sturgeon Date: Tue, 4 Jun 2024 01:26:35 +0100 Subject: [PATCH] .git-blame-ignore-revs: init Added to ignore a treewide reformatting commit when using `git blame`. See [GitHub's Documentation][1] and the [`git blame` manual][2]. [1]: https://docs.github.com/en/repositories/working-with-files/using-files/viewing-a-file#ignore-commits-in-the-blame-view [2]: https://www.git-scm.com/docs/git-blame#Documentation/git-blame.txt---ignore-revs-fileltfilegt --- .git-blame-ignore-revs | 12 ++++++++++++ 1 file changed, 12 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..9fb3e9f5 --- /dev/null +++ b/.git-blame-ignore-revs @@ -0,0 +1,12 @@ +# Git revisions added to this file will be ignored by GitHub's blame feature. +# +# This can also be used locally with `git blame` by configuring your "blame.ignoreRevsFile": +# git config blame.ignoreRevsFile .git-blame-ignore-revs +# +# Or you can this on an ad-hock basis with the `--ignore-revs-file` argument: +# git blame --ignore-revs-file .git-blame-ignore-revs + +# This commit reformatted from alejandra to nixfmt-rfc-style: +# 2024-05-05: treewide: Reformat with nixfmt +62f32bfc711f0a3c8a52af4c0790345b4b3d2346 +