Let's eat our own dogfood. (Also, this makes word diff much nicer on git's own repo.) Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta@xxxxxxxxx> --- .gitattributes | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitattributes b/.gitattributes index 5e98806..16930e6 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,3 +1,4 @@ * whitespace=!indent,trail,space -*.[ch] whitespace=indent,trail,space -*.sh whitespace=indent,trail,space +*.[ch] whitespace=indent,trail,space diff=cpp +*.sh whitespace=indent,trail,space diff=shell +*.perl diff=perl -- 1.7.6.451.gcb935.dirty -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html