diff options
author | Junio C Hamano <gitster@pobox.com> | 2012-09-11 11:23:45 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-09-11 11:23:54 -0700 |
commit | 1c88a6d17492b197b9b3298cbc34efa804928302 (patch) | |
tree | b0370caa6322930a13898673c5a559aef20c8791 /notes-merge.c | |
parent | 31190841049549b5daaffeb0b9888ebed0bbfc8a (diff) | |
parent | e09e4024a070e666ed40b66442e8151b91d623e4 (diff) | |
download | git-1c88a6d17492b197b9b3298cbc34efa804928302.tar.gz |
Sync with 1.7.11.6
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'notes-merge.c')
-rw-r--r-- | notes-merge.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/notes-merge.c b/notes-merge.c index 29c6411fc6..0f67bd3f96 100644 --- a/notes-merge.c +++ b/notes-merge.c @@ -126,8 +126,7 @@ static struct notes_merge_pair *diff_tree_remote(struct notes_merge_options *o, diff_setup(&opt); DIFF_OPT_SET(&opt, RECURSIVE); opt.output_format = DIFF_FORMAT_NO_OUTPUT; - if (diff_setup_done(&opt) < 0) - die("diff_setup_done failed"); + diff_setup_done(&opt); diff_tree_sha1(base, remote, "", &opt); diffcore_std(&opt); @@ -190,8 +189,7 @@ static void diff_tree_local(struct notes_merge_options *o, diff_setup(&opt); DIFF_OPT_SET(&opt, RECURSIVE); opt.output_format = DIFF_FORMAT_NO_OUTPUT; - if (diff_setup_done(&opt) < 0) - die("diff_setup_done failed"); + diff_setup_done(&opt); diff_tree_sha1(base, local, "", &opt); diffcore_std(&opt); |