Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
commit: factor out clear_commit_marks_for_object_array
[gitweb.git]
/
bundle.c
diff --git
a/bundle.c
b/bundle.c
index 26cc9ab50732ff96e4a94f81c563d9bd589fe2b6..a8ea918c08c92077a532185480d8693fa21bc4dc 100644
(file)
--- a/
bundle.c
+++ b/
bundle.c
@@
-141,8
+141,7
@@
int verify_bundle(struct bundle_header *header, int verbose)
refs.objects[i].name);
}
- for (i = 0; i < refs.nr; i++)
- clear_commit_marks((struct commit *)refs.objects[i].item, -1);
+ clear_commit_marks_for_object_array(&refs, ALL_REV_FLAGS);
free(refs.objects);
if (verbose) {