Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit c0764a5

Browse files
committed
gitattributes: Make syntax compatible with older Git versions
Avoid the use of **, which was only introduced in Git version 1.8.2.
1 parent 061b88c commit c0764a5

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.gitattributes

+4-3
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,16 @@ README conflict-marker-size=32
1212
README.* conflict-marker-size=32
1313

1414
# Certain data files that contain special whitespace, and other special cases
15-
**/data/*.data -whitespace
15+
*.data -whitespace
1616
contrib/tsearch2/sql/tsearch2.sql whitespace=space-before-tab,blank-at-eof,-blank-at-eol
1717
doc/bug.template whitespace=space-before-tab,-blank-at-eof,blank-at-eol
1818
src/backend/catalog/sql_features.txt whitespace=space-before-tab,blank-at-eof,-blank-at-eol
1919
src/backend/tsearch/hunspell_sample.affix whitespace=-blank-at-eof
2020

2121
# Test output files that contain extra whitespace
22-
**/expected/*.out -whitespace
23-
**/output/*.source -whitespace
22+
*.out -whitespace
23+
contrib/*/output/*.source -whitespace
24+
src/test/regress/output/*.source -whitespace
2425
src/interfaces/ecpg/test/expected/* -whitespace
2526
src/interfaces/libpq/test/expected.out whitespace=-blank-at-eof
2627

0 commit comments

Comments
 (0)