Code

pretty-options.txt: tiny doc fix
[git.git] / builtin-blame.c
index da23a6f9c99e1db691ba9329ea33a320b56b6afc..0519339098f3258ae6cc2b50d30679a8cfc7f2c7 100644 (file)
@@ -518,8 +518,8 @@ static struct patch *compare_buffer(mmfile_t *file_p, mmfile_t *file_o,
        xdemitcb_t ecb;
 
        xpp.flags = xdl_opts;
+       memset(&xecfg, 0, sizeof(xecfg));
        xecfg.ctxlen = context;
-       xecfg.flags = 0;
        ecb.outf = xdiff_outf;
        ecb.priv = &state;
        memset(&state, 0, sizeof(state));