diff options
author | Jason Merrill <jason@redhat.com> | 2019-10-17 15:17:00 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2019-10-17 15:17:00 -0400 |
commit | 6664a5f7ecb8fa96c0b754f66cc9bb73423c42fb (patch) | |
tree | 558d7c6481df5931641e0dc2b890d2dfa967322e /.gitattributes | |
parent | 8e5993e236a50ffc161dd45d1ef3ab86133e3363 (diff) | |
download | gcc-6664a5f7ecb8fa96c0b754f66cc9bb73423c42fb.tar.gz |
gitattributes: Avoid {} in filename pattern.
* .gitattributes: Avoid {} in filename pattern.
Brace-expansion is a bash feature, not part of glob(7).
From-SVN: r277129
Diffstat (limited to '.gitattributes')
-rw-r--r-- | .gitattributes | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/.gitattributes b/.gitattributes index b38d7f1b43b..183fdcaaa9a 100644 --- a/.gitattributes +++ b/.gitattributes @@ -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 |