summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2016-07-19 13:22:21 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-07-19 13:22:21 -0700
commitf5236a776f31de2654bca9001aa74ef9fe0819d8 (patch)
treee909bafdf9a4058968ba16e5d8b29a44f7d13026
parentMerge branch 'nd/fetch-ref-summary' (diff)
parent.gitattributes: set file type for C files (diff)
downloadtgif-f5236a776f31de2654bca9001aa74ef9fe0819d8.tar.xz
Merge branch 'rs/help-c-source-with-gitattributes'
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 5e98806c6c..320e33c327 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