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.
34 lines
1.5 KiB
Text
34 lines
1.5 KiB
Text
* whitespace=space-before-tab,trailing-space
|
|
*.[chly] whitespace=space-before-tab,trailing-space,indent-with-non-tab,tabwidth=4
|
|
*.pl whitespace=space-before-tab,trailing-space,tabwidth=4
|
|
*.pm whitespace=space-before-tab,trailing-space,tabwidth=4
|
|
*.po whitespace=space-before-tab,trailing-space,tab-in-indent,-blank-at-eof
|
|
*.sgml whitespace=space-before-tab,trailing-space,tab-in-indent
|
|
*.x[ms]l whitespace=space-before-tab,trailing-space,tab-in-indent
|
|
|
|
# Avoid confusing ASCII underlines with leftover merge conflict markers
|
|
README conflict-marker-size=32
|
|
README.* conflict-marker-size=32
|
|
|
|
# Certain data files that contain special whitespace, and other special cases
|
|
*.data -whitespace
|
|
contrib/pgcrypto/sql/pgp-armor.sql whitespace=-blank-at-eol
|
|
src/backend/catalog/sql_features.txt whitespace=space-before-tab,blank-at-eof,-blank-at-eol
|
|
|
|
# Test output files that contain extra whitespace
|
|
*.out -whitespace
|
|
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
|
|
src/tools/pg_bsd_indent/tests/* -whitespace
|