summaryrefslogtreecommitdiff
path: root/.gitattributes
blob: e75bfc595bfb1ec14c364a650df08253f24beecc (plain)
1
2
3
4
5
6
7
8
9
10
# 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