]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - .gitattributes
tree-optimization/114197 - unexpected if-conversion for vectorization
[thirdparty/gcc.git] / .gitattributes
index b38d7f1b43bebd2645a4ddaea2ed6659ca8a34e9..e75bfc595bfb1ec14c364a650df08253f24beecc 100644 (file)
@@ -1 +1,10 @@
-*.{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
+ChangeLog whitespace=indent-with-non-tab,space-before-tab,trailing-space
+# Make diff on MD files use "(define" as a function marker.
+# Use together with git config diff.md.xfuncname '^\(define.*$'
+# which is run by contrib/gcc-git-customization.sh too.
+*.md diff=md