[PATCH 2/2] Use specific diff rules for repo files
- From
Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
- Date
- Aug 1, 2011, 10:37 UTC
- Message-ID
- <1312195069-10782-3-git-send-email-giuseppe.bilotta@gmail.com>
- In-Reply-To
- <1312195069-10782-1-git-send-email-giuseppe.bilotta@gmail.com>
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@gmail.com> --- .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