aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2016-08-10 11:55:19 -0700
committerJunio C Hamano <gitster@pobox.com>2016-08-10 11:55:20 -0700
commite223c2c77f7e578e085c80c59440475cff056dc0 (patch)
tree6354c73dcef56950c400c8e2c502c02c81e2006d
parent61efc5c2d81cbd8c9a5d145e1aab2f744772c856 (diff)
parente82675a040d559c56be54255901138a979eeec21 (diff)
downloadgit-e223c2c77f7e578e085c80c59440475cff056dc0.tar.gz
git-e223c2c77f7e578e085c80c59440475cff056dc0.tar.xz
Merge branch 'rs/help-c-source-with-gitattributes' into maint
The .c/.h sources are marked as such in our .gitattributes file so that "git diff -W" and friends would work better. * rs/help-c-source-with-gitattributes: .gitattributes: set file type for C files
-rw-r--r--.gitattributes2
1 files changed, 1 insertions, 1 deletions
diff --git a/.gitattributes b/.gitattributes
index 5e98806c6..320e33c32 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -1,3 +1,3 @@
* whitespace=!indent,trail,space
-*.[ch] whitespace=indent,trail,space
+*.[ch] whitespace=indent,trail,space diff=cpp
*.sh whitespace=indent,trail,space