Exclude files generated by generate-wait_event_types.pl from pgindent

The format of these files becomes arguably worse after being indented,
and, as they are generated, there is no point in applying an indentation
anyway.

Author: Bharath Rupireddy
Discussion: https://postgr.es/m/CALj2ACW2JUocmieuR3n9AXL4iSsHcL1LmNkiukuFRUvKNMoiKg@mail.gmail.com
This commit is contained in:
Michael Paquier 2023-12-31 18:06:56 +09:00
parent cb44a8345e
commit a99009a9a3
1 changed files with 6 additions and 0 deletions

View File

@ -12,6 +12,12 @@ src/include/jit/llvmjit\.h$
src/backend/nodes/\w+\.funcs\.c$
src/backend/nodes/\w+\.switch\.c$
#
# These are generated by generate-wait_event_types.pl, whose format
# looks worse with pgindent.
src/backend/utils/activity/pgstat_wait_event\.c$
src/backend/utils/activity/wait_event_funcs_data\.c$
src/backend/utils/activity/wait_event_types\.h$
#
# This confuses pgindent, and it's a derived file anyway.
src/backend/utils/fmgrtab\.c$
#