expose a helper function peel_to_type().
[gitweb.git] / builtin-rev-list.c
index de80158fd4762aa692193edb7c0f8e85e6189877..9426081dae17e0a3ce536c8b4ffc038b32eda8a7 100644 (file)
@@ -609,7 +609,8 @@ int cmd_rev_list(int argc, const char **argv, const char *prefix)
        if (bisect_list)
                revs.limited = 1;
 
-       prepare_revision_walk(&revs);
+       if (prepare_revision_walk(&revs))
+               die("revision walk setup failed");
        if (revs.tree_objects)
                mark_edges_uninteresting(revs.commits, &revs, show_edge);