Skip to content

Commit 6bcdc65

Browse files
TimWollawtarreau
authored andcommitted
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.
1 parent 98a9e1b commit 6bcdc65

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.gitattributes

+1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
SUBVERS export-subst
22
VERDATE export-subst
3+
*.[ch] diff=cpp

0 commit comments

Comments
 (0)