summaryrefslogtreecommitdiff
path: root/revision.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-09-11 10:53:40 -0700
committerJunio C Hamano <gitster@pobox.com>2012-09-11 10:53:40 -0700
commit738c2187604756fea3901554a49f9137e02ed0ef (patch)
treeac786621832f1ac568761e96989ca984a836530e /revision.c
parent3f835949e9b800619136f2511e84000c95916d6e (diff)
parent28452655af988094792483a51d188c58137760cd (diff)
downloadgit-738c2187604756fea3901554a49f9137e02ed0ef.tar.gz
Merge branch 'tr/void-diff-setup-done' into maint-1.7.11
* tr/void-diff-setup-done: diff_setup_done(): return void
Diffstat (limited to 'revision.c')
-rw-r--r--revision.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/revision.c b/revision.c
index 74c484ca84..6d21ac7ee1 100644
--- a/revision.c
+++ b/revision.c
@@ -1855,8 +1855,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);