summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2023-07-13 07:47:17 (GMT)
committerThomas Haller <thaller@redhat.com>2023-07-25 11:32:30 (GMT)
commit2dd538950211ed8efaa8133f7bc41e0a9fc77fad (patch)
tree515bf48ab5f020e0ff16ee5c42e831558a53f40f
parent3c753e3c94b01c63bf99b2709f4780e2df4608eb (diff)
downloadlibnl-2dd538950211ed8efaa8133f7bc41e0a9fc77fad.zip
libnl-2dd538950211ed8efaa8133f7bc41e0a9fc77fad.tar.gz
libnl-2dd538950211ed8efaa8133f7bc41e0a9fc77fad.tar.bz2
build: add ".git-blame-ignore-revs" file for "blame.ignoreRevsFile" git config
If you want to use git-blame and are bothered by the large diff due to the automated reformatting (python-black), consider ignoring the reformatting commit by using ".git-blame-ignore-revs" file.
-rw-r--r--.git-blame-ignore-revs6
1 files changed, 6 insertions, 0 deletions
diff --git a/.git-blame-ignore-revs b/.git-blame-ignore-revs
new file mode 100644
index 0000000..9cfd55c
--- /dev/null
+++ b/.git-blame-ignore-revs
@@ -0,0 +1,6 @@
+# List of commits that did automated reformatting. You can ignore them
+# during git-blame with `--ignore-rev` or `--ignore-revs-file`.
+#
+# $ git config --add 'blame.ignoreRevsFile' '.git-blame-ignore-revs'
+#
+3c753e3c94b01c63bf99b2709f4780e2df4608eb