/
uis
/
git
/
x
/
uis
/
git
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
diff --check: do not get confused by new blank lines in the middle
[git/git.git]
/
diff.c
diff --git
a/diff.c
b/diff.c
index
bf5d5f1
..
f70e6b4
100644
(file)
--- a/
diff.c
+++ b/
diff.c
@@
-1627,6
+1627,7
@@
static void builtin_checkdiff(const char *name_a, const char *name_b,
xdemitcb_t ecb;
memset(&xecfg, 0, sizeof(xecfg));
+ xecfg.ctxlen = 1; /* at least one context line */
xpp.flags = XDF_NEED_MINIMAL;
ecb.outf = xdiff_outf;
ecb.priv = &data;