Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2016-08-10 21:55:19 +0300
committerJunio C Hamano <gitster@pobox.com>2016-08-10 21:55:20 +0300
commite223c2c77f7e578e085c80c59440475cff056dc0 (patch)
tree6354c73dcef56950c400c8e2c502c02c81e2006d
parent61efc5c2d81cbd8c9a5d145e1aab2f744772c856 (diff)
parente82675a040d559c56be54255901138a979eeec21 (diff)
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 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