From 6664a5f7ecb8fa96c0b754f66cc9bb73423c42fb Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Thu, 17 Oct 2019 15:17:00 -0400 Subject: [PATCH] gitattributes: Avoid {} in filename pattern. * .gitattributes: Avoid {} in filename pattern. Brace-expansion is a bash feature, not part of glob(7). From-SVN: r277129 --- .gitattributes | 6 +++++- ChangeLog | 4 ++++ 2 files changed, 9 insertions(+), 1 deletion(-) 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 diff --git a/ChangeLog b/ChangeLog index 90413f57284..5487226c989 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2019-10-17 Jason Merrill + + * .gitattributes: Avoid {} in filename pattern. + 2019-10-08 Thomas Schwinge * MAINTAINERS: Add back Trevor Smigiel; move into Write After