improve reliability of fixup_pack_header_footer()
[gitweb.git] / index-pack.c
index 728af7da9c87646a869af5da5444943c0c66f89e..411b80d8150984e96db0775d60e5b8793b07d4a3 100644 (file)
@@ -982,7 +982,8 @@ int main(int argc, char **argv)
                                nr_objects - nr_objects_initial);
                        stop_progress_msg(&progress, msg);
                        fixup_pack_header_footer(output_fd, sha1,
-                                                curr_pack, nr_objects);
+                                                curr_pack, nr_objects,
+                                                NULL, 0);
                }
                if (nr_deltas != nr_resolved_deltas)
                        die("pack has %d unresolved deltas",