summaryrefslogtreecommitdiff
path: root/merge-file.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2007-07-07 13:37:32 -0700
committerJunio C Hamano <gitster@pobox.com>2007-07-07 13:37:32 -0700
commite3c76dbd0f7531eaed3ca8ec0000f03499839304 (patch)
treeabfeb18cc08e1465390443e12ae7c3d8c7b1cd5b /merge-file.c
parent0707a9d6f200bbafc02d13dd7f2c12bb795999f6 (diff)
parent2c3fa66f3577d1305fb0fac5a181261fb2597859 (diff)
downloadgit-e3c76dbd0f7531eaed3ca8ec0000f03499839304.tar.gz
Merge branch 'jc/diff-mark'
* jc/diff-mark: diff: honor binariness specified in attributes Fix configuration syntax to specify customized hunk header patterns. Per-path attribute based hunk header selection. Future-proof source for changes in xdemitconf_t Introduce diff_filespec_is_binary()
Diffstat (limited to 'merge-file.c')
-rw-r--r--merge-file.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/merge-file.c b/merge-file.c
index 748d15c0e0..1e031eafe0 100644
--- a/merge-file.c
+++ b/merge-file.c
@@ -62,6 +62,7 @@ static int generate_common_file(mmfile_t *res, mmfile_t *f1, mmfile_t *f2)
xdemitcb_t ecb;
xpp.flags = XDF_NEED_MINIMAL;
+ memset(&xecfg, 0, sizeof(xecfg));
xecfg.ctxlen = 3;
xecfg.flags = XDL_EMIT_COMMON;
ecb.outf = common_outf;