Add .git-blame-ignore-revs.
authorTatsuo Ishii <ishii@postgresql.org>
Thu, 17 Jul 2025 10:22:49 +0000 (19:22 +0900)
committerTatsuo Ishii <ishii@postgresql.org>
Thu, 17 Jul 2025 10:22:49 +0000 (19:22 +0900)
.git-blame-ignore-revs lists commits to be ignored by git blame
command. Any indentation fix commit using pgindent should be added to
the file. How to add an entry to the file is explained in the beginning
of the file.

Also add 468573ad3 to the file as the first entry.

.git-blame-ignore-revs [new file with mode: 0644]

diff --git a/.git-blame-ignore-revs b/.git-blame-ignore-revs
new file mode 100644 (file)
index 0000000..b71a625
--- /dev/null
@@ -0,0 +1,18 @@
+# As of git 2.23, git-blame supports ignoring specific commits.  This is useful
+# with commits that make bulk formatting changes without truly changing any
+# code.
+#
+# This file lists ignorable pgindent, pgperltidy, and reformat-dat-files
+# related commits only.  Please don't add commits that are not in this
+# category.
+#
+# You can use the ignore list file by running:
+#
+# $ git config blame.ignoreRevsFile .git-blame-ignore-revs
+#
+# Add new entries by adding the output of the following to the top of the file:
+#
+# $ git log --pretty=format:"%H # %cd%n# %s" $PGINDENTGITHASH -1 --date=iso
+
+468573ad3d19bee5634e362d17df357298d4b51a # 2025-07-17 19:15:48 +0900
+# Run pgindent.