exclude tmp_check and tmp_install from pgindent - Mailing list pgsql-hackers

From Peter Eisentraut
Subject exclude tmp_check and tmp_install from pgindent
Date
Msg-id 0104917e-8a80-b6e4-6929-b029179c76b3@2ndquadrant.com
Whole thread Raw
Responses Re: exclude tmp_check and tmp_install from pgindent  (Andrew Dunstan <andrew.dunstan@2ndquadrant.com>)
List pgsql-hackers
pgindent spends a long time digging through tmp_check and tmp_install
directories and ends up re-indenting installed header files.  How about
excluding those directories, like below or directly in the script?

diff --git a/src/tools/pgindent/exclude_file_patterns
b/src/tools/pgindent/exclude_file_patterns
index 65c42c131d..c8efc9a913 100644
--- a/src/tools/pgindent/exclude_file_patterns
+++ b/src/tools/pgindent/exclude_file_patterns
@@ -6,3 +6,5 @@
 /snowball/libstemmer/
 /pl/plperl/ppport\.h$
 /jit/llvmjit\.h$
+/tmp_check/
+/tmp_install/

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


pgsql-hackers by date:

Previous
From: Konstantin Knizhnik
Date:
Subject: Re: out-of-order XID insertion in KnownAssignedXids
Next
From: Pavel Stehule
Date:
Subject: PostgreSQL 12, JIT defaults