Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'dk/describe-all-output-fix' into maint
[gitweb.git]
/
pack-bitmap-write.c
diff --git
a/pack-bitmap-write.c
b/pack-bitmap-write.c
index 8e47a96b3bb68f8d5ccb87f1c955863aeda39bf6..a8df5ce2ab67bfdb5445e4c02e4ad65032abe9a0 100644
(file)
--- a/
pack-bitmap-write.c
+++ b/
pack-bitmap-write.c
@@
-297,9
+297,7
@@
void bitmap_writer_build(struct packing_data *to_pack)
traverse_commit_list(&revs, show_commit, show_object, base);
- revs.pending.nr = 0;
- revs.pending.alloc = 0;
- revs.pending.objects = NULL;
+ object_array_clear(&revs.pending);
stored->bitmap = bitmap_to_ewah(base);
need_reset = 0;