diff options
author | Junio C Hamano <gitster@pobox.com> | 2012-08-22 11:52:26 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-08-22 11:52:27 -0700 |
commit | 9cd33bbc529bfa830c687d377433c46474d10e6a (patch) | |
tree | 79268934569751906061421fcd5c46b751441c67 /revision.c | |
parent | Merge branch 'tr/merge-recursive-flush' (diff) | |
parent | diff_setup_done(): return void (diff) | |
download | tgif-9cd33bbc529bfa830c687d377433c46474d10e6a.tar.xz |
Merge branch 'tr/void-diff-setup-done'
Remove unnecessary code.
* tr/void-diff-setup-done:
diff_setup_done(): return void
Diffstat (limited to 'revision.c')
-rw-r--r-- | revision.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/revision.c b/revision.c index 9e8f47a25d..57eb0c0e13 100644 --- a/revision.c +++ b/revision.c @@ -1861,8 +1861,7 @@ int setup_revisions(int argc, const char **argv, struct rev_info *revs, struct s if (revs->combine_merges) revs->ignore_merges = 0; revs->diffopt.abbrev = revs->abbrev; - if (diff_setup_done(&revs->diffopt) < 0) - die("diff_setup_done failed"); + diff_setup_done(&revs->diffopt); compile_grep_patterns(&revs->grep_filter); |