gitattributes: Avoid {} in filename pattern.

* .gitattributes: Avoid {} in filename pattern.

Brace-expansion is a bash feature, not part of glob(7).

From-SVN: r277129
This commit is contained in:
Jason Merrill 2019-10-17 15:17:00 -04:00 committed by Jason Merrill
parent 8e5993e236
commit 6664a5f7ec
2 changed files with 9 additions and 1 deletions

6
.gitattributes vendored
View File

@ -1 +1,5 @@
*.{c,C,cc,h} whitespace=indent-with-non-tab,space-before-tab,trailing-space
# Add indent-with-non-tab to the default git whitespace warnings.
# Note that this file doesn't support bash-style brace expansion.
*.[cCh] whitespace=indent-with-non-tab,space-before-tab,trailing-space
*.cc whitespace=indent-with-non-tab,space-before-tab,trailing-space

View File

@ -1,3 +1,7 @@
2019-10-17 Jason Merrill <jason@redhat.com>
* .gitattributes: Avoid {} in filename pattern.
2019-10-08 Thomas Schwinge <thomas@codesourcery.com>
* MAINTAINERS: Add back Trevor Smigiel; move into Write After