Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
check return code of prepare_revision_walk
[gitweb.git]
/
reachable.c
diff --git
a/reachable.c
b/reachable.c
index 00f289f2f470c0f4b95e0fcac043aa2e054d1ce6..823e3242ec126a5d55c36b24eb8699a2efecad52 100644
(file)
--- a/
reachable.c
+++ b/
reachable.c
@@
-215,6
+215,7
@@
void mark_reachable_objects(struct rev_info *revs, int mark_reflog)
* Set up the revision walk - this will move all commits
* from the pending list to the commit walking list.
*/
- prepare_revision_walk(revs);
+ if (prepare_revision_walk(revs))
+ die("revision walk setup failed");
walk_commit_list(revs);
}