]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MINOR: Configure the `cpp` userdiff driver for *.[ch] in .gitattributes
authorTim Duesterhus <tim@bastelstu.be>
Sat, 20 Feb 2021 18:21:35 +0000 (19:21 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 22 Feb 2021 17:17:57 +0000 (18:17 +0100)
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.

.gitattributes

index cd3d1ff48e452f200958b5acafdf42e5de00e75a..4b566452d9b77abca56583d2453171a57ffb17b1 100644 (file)
@@ -1,2 +1,3 @@
 SUBVERS export-subst
 VERDATE export-subst
+*.[ch] diff=cpp