Skip to content

Commit

Permalink
gitattributes: Make syntax compatible with older Git versions
Browse files Browse the repository at this point in the history
Avoid the use of **, which was only introduced in Git version 1.8.2.
  • Loading branch information
petere committed Nov 13, 2013
1 parent 061b88c commit c0764a5
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .gitattributes
Expand Up @@ -12,15 +12,16 @@ README conflict-marker-size=32
README.* conflict-marker-size=32 README.* conflict-marker-size=32


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


# Test output files that contain extra whitespace # Test output files that contain extra whitespace
**/expected/*.out -whitespace *.out -whitespace
**/output/*.source -whitespace contrib/*/output/*.source -whitespace
src/test/regress/output/*.source -whitespace
src/interfaces/ecpg/test/expected/* -whitespace src/interfaces/ecpg/test/expected/* -whitespace
src/interfaces/libpq/test/expected.out whitespace=-blank-at-eof src/interfaces/libpq/test/expected.out whitespace=-blank-at-eof


Expand Down

0 comments on commit c0764a5

Please sign in to comment.