]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* .gitattributes: Avoid {} in filename pattern.
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 17 Oct 2019 19:17:00 +0000 (19:17 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 17 Oct 2019 19:17:00 +0000 (19:17 +0000)
Brace-expansion is a bash feature, not part of glob(7).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@277129 138bc75d-0d04-0410-961f-82ee72b054a4

.gitattributes
ChangeLog

index b38d7f1b43bebd2645a4ddaea2ed6659ca8a34e9..183fdcaaa9ad8778014764b088f2f8d57b124a0f 100644 (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
index 90413f57284b9c7bcd5ed45610165784af49be1e..5487226c98983aec3ef6c9e8dca81abacaaecc99 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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