expose a helper function peel_to_type().
[gitweb.git] / http-push.c
index b2b410df902f2a4f2bca634d82cf103d288c9042..63ff218b3c2a9d006ec95f20e7c1cd3a0808dffa 100644 (file)
@@ -2383,7 +2383,8 @@ int main(int argc, char **argv)
 
                /* Generate a list of objects that need to be pushed */
                pushing = 0;
-               prepare_revision_walk(&revs);
+               if (prepare_revision_walk(&revs))
+                       die("revision walk setup failed");
                mark_edges_uninteresting(revs.commits);
                objects_to_send = get_delta(&revs, ref_lock);
                finish_all_active_slots();