commit | 6bcdc6530a437bb4eca24fb41439e34690376972 | [log] [tgz] |
---|---|---|
author | Tim Duesterhus <tim@bastelstu.be> | Sat Feb 20 19:21:35 2021 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Mon Feb 22 18:17:57 2021 +0100 |
tree | 298016a19fede923c75585152c7dab678e4f6e93 | |
parent | 98a9e1b87306f31caaa3e1e1896770dec0421473 [diff] [blame] |
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 cd3d1ff..4b56645 100644 --- a/.gitattributes +++ b/.gitattributes
@@ -1,2 +1,3 @@ SUBVERS export-subst VERDATE export-subst +*.[ch] diff=cpp