pack-objects: don't include missing preferred base objects
[gitweb.git] / fast-import.c
index 7089e6f9e6c5fa9142f468e54afe7d33a6d2eec7..d85b3a561f511bfa7db0232c43a8088c0df8ae27 100644 (file)
@@ -951,7 +951,8 @@ static void end_packfile(void)
 
                close_pack_windows(pack_data);
                fixup_pack_header_footer(pack_data->pack_fd, pack_data->sha1,
-                                   pack_data->pack_name, object_count);
+                                   pack_data->pack_name, object_count,
+                                   NULL, 0);
                close(pack_data->pack_fd);
                idx_name = keep_pack(create_index());