projects
/
haproxy-2.5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98a9e1b
)
MINOR: Configure the `cpp` userdiff driver for *.[ch] in .gitattributes
author
Tim Duesterhus
<tim@bastelstu.be>
Sat, 20 Feb 2021 18:21:35 +0000
(19:21 +0100)
committer
Willy 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
patch
|
blob
|
history
diff --git
a/.gitattributes
b/.gitattributes
index
cd3d1ff
..
4b56645
100644
(file)
--- a/
.gitattributes
+++ b/
.gitattributes
@@
-1,2
+1,3
@@
SUBVERS export-subst
VERDATE export-subst
+*.[ch] diff=cpp