From: Peter Eisentraut Date: Wed, 27 Nov 2024 10:08:12 +0000 (+0100) Subject: Exclude LLVM files from whitespace checks X-Git-Tag: REL_14_16~77 X-Git-Url: http://git.postgresql.org/gitweb/?a=commitdiff_plain;h=64c625ccc12d145bc6c638b9a00a88e3adc7900e;p=postgresql.git Exclude LLVM files from whitespace checks 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. --- diff --git a/.gitattributes b/.gitattributes index f9868677fa2..151a641461a 100644 --- a/.gitattributes +++ b/.gitattributes @@ -26,9 +26,12 @@ src/interfaces/libpq/test/expected.out whitespace=-blank-at-eof # 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/regex/re_syntax.n -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