Ignore bulk formatting changes in git blame

This patch adds a .git-blame-ignore-revs that contains a list of
commits with bulk formatting changes to be ignored with git blame.
This file will be used by GitHub but to use it locally you need
to tell git about it eg. with the following command:
`git config blame.ignoreRevsFile .git-blame-ignore-revs`
This commit is contained in:
Sven Klemm 2022-04-01 09:51:39 +02:00 committed by Sven Klemm
parent a154ae56e9
commit e16908ccd7

17
.git-blame-ignore-revs Normal file
View File

@ -0,0 +1,17 @@
# This file contains a list of commits that are not likely what you
# are looking for in a blame, such as mass reformatting or renaming.
# You can set this file as a default ignore file for blame by running
# the following command.
#
# $ git config blame.ignoreRevsFile .git-blame-ignore-revs
# formatting with pgindent
32c45b75b27e3f690236a9d1c8d13a025316ad2f
# Fix formatting to comply with pgindent
2ec065b53823e50dd1ac1d7cf925ae5f90e293ea
# Fix formatting issues
3e42150e3b0402ae865d9a827d8d178568a0d27e
# Run clang-format on code
34edba16a9385a4b0353e8e07a19dba98d7e3fb9
# Run pg_format on SQL files
3f5872ec61650519e2c5e6fe1dfb60d07696cac7