File: .gitattributes

package info (click to toggle)
postgresql-18 18.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 156,452 kB
  • sloc: ansic: 993,977; sql: 127,739; perl: 59,135; xml: 30,905; yacc: 21,023; lex: 9,000; makefile: 6,883; sh: 5,372; cpp: 995; python: 710; asm: 40; sed: 3
file content (40 lines) | stat: -rw-r--r-- 1,945 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# IMPORTANT: After updating this file, also run src/tools/generate_editorconfig.py

*		whitespace=space-before-tab,trailing-space
*.[chly]	whitespace=space-before-tab,trailing-space,indent-with-non-tab,tabwidth=4
*.cpp		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
*.py		whitespace=space-before-tab,trailing-space,tab-in-indent
*.sgml		whitespace=space-before-tab,trailing-space,tab-in-indent
*.xml		whitespace=space-before-tab,trailing-space,tab-in-indent
*.xsl		whitespace=space-before-tab,trailing-space,tab-in-indent

# Avoid confusing ASCII underlines with leftover merge conflict markers
README		conflict-marker-size=48
README.*	conflict-marker-size=48

# 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
src/tools/pg_bsd_indent/*.[ch]		whitespace=-blank-at-eol,-blank-at-eof,tabwidth=8