From: Tim Duesterhus Date: Sat, 20 Feb 2021 18:21:35 +0000 (+0100) Subject: MINOR: Configure the `cpp` userdiff driver for *.[ch] in .gitattributes X-Git-Tag: v2.4-dev10~77 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6bcdc6530a437bb4eca24fb41439e34690376972;p=thirdparty%2Fhaproxy.git MINOR: Configure the `cpp` userdiff driver for *.[ch] in .gitattributes This might improve the output of `git diff` in certain cases. Especially `git diff --word-diff` will be much more useful. Does not affect the generated code, may be backported for consistency if desired. --- diff --git a/.gitattributes b/.gitattributes index cd3d1ff48e..4b566452d9 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,2 +1,3 @@ SUBVERS export-subst VERDATE export-subst +*.[ch] diff=cpp