summaryrefslogtreecommitdiffstats
path: root/.gitattributes
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2019-10-17 15:17:00 -0400
committerJason Merrill <jason@gcc.gnu.org>2019-10-17 15:17:00 -0400
commit6664a5f7ecb8fa96c0b754f66cc9bb73423c42fb (patch)
tree558d7c6481df5931641e0dc2b890d2dfa967322e /.gitattributes
parentcp-gimplify.c (cp_gimplify_expr): Use get_initialized_tmp_var. (diff)
downloadgcc-6664a5f7ecb8fa96c0b754f66cc9bb73423c42fb.tar.gz
gcc-6664a5f7ecb8fa96c0b754f66cc9bb73423c42fb.tar.bz2
gcc-6664a5f7ecb8fa96c0b754f66cc9bb73423c42fb.tar.xz
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--.gitattributes6
1 files changed, 5 insertions, 1 deletions
diff --git a/.gitattributes b/.gitattributes
index b38d7f1b43b..183fdcaaa9a 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -1 +1,5 @@
1*.{c,C,cc,h} whitespace=indent-with-non-tab,space-before-tab,trailing-space 1# Add indent-with-non-tab to the default git whitespace warnings.
2# Note that this file doesn't support bash-style brace expansion.
3
4*.[cCh] whitespace=indent-with-non-tab,space-before-tab,trailing-space
5*.cc whitespace=indent-with-non-tab,space-before-tab,trailing-space