Sync with 2.3.10

This commit is contained in:
Junio C Hamano
2015-09-28 15:28:26 -07:00
27 changed files with 446 additions and 28 deletions

View File

@ -419,8 +419,10 @@ static void combine_diff(const unsigned char *parent, unsigned int mode,
state.num_parent = num_parent;
state.n = n;
xdi_diff_outf(&parent_file, result_file, consume_line, &state,
&xpp, &xecfg);
if (xdi_diff_outf(&parent_file, result_file, consume_line, &state,
&xpp, &xecfg))
die("unable to generate combined diff for %s",
sha1_to_hex(parent));
free(parent_file.ptr);
/* Assign line numbers for this parent.