Exclude LLVM files from whitespace checks
authorPeter Eisentraut <peter@eisentraut.org>
Wed, 27 Nov 2024 10:08:12 +0000 (11:08 +0100)
committerPeter Eisentraut <peter@eisentraut.org>
Wed, 27 Nov 2024 10:09:38 +0000 (11:09 +0100)
Commit 9044fc1d45a added some files from upstream LLVM.  These files
have different whitespace rules, which make the git whitespace checks
powered by gitattributes fail.  To fix, add those files to the exclude
list.

.gitattributes

index 45e508d5799dfedb1de9e6c22bc7f7b330c24059..7ce9120c29d6b2a75f490f83783786530d3f9859 100644 (file)
@@ -23,9 +23,12 @@ src/interfaces/ecpg/test/expected/*  -whitespace
 # These files are maintained or generated elsewhere.  We take them as is.
 configure              -whitespace
 ppport.h               -whitespace
+src/backend/jit/llvm/SectionMemoryManager.cpp      -whitespace
+src/backend/jit/llvm/SectionMemoryManager.LICENSE  -whitespace
 src/backend/regex/COPYRIGHT        -whitespace
 src/backend/snowball/libstemmer/*.c    -whitespace
 src/backend/utils/mb/Unicode/*-std.txt -whitespace
+src/include/jit/SectionMemoryManager.h -whitespace
 src/include/snowball/libstemmer/*  -whitespace
 src/timezone/data/*            -whitespace
 src/tools/pg_bsd_indent/*      -whitespace