static void pack_geometry_init(struct pack_geometry *geometry,
struct existing_packs *existing,
- const struct pack_objects_args *args)
+ const struct pack_objects_args *args,
+ int pack_kept_objects)
{
struct packfile_store *packs = existing->repo->objects->packfiles;
struct packed_git *p;
if (geometry.split_factor) {
if (pack_everything)
die(_("options '%s' and '%s' cannot be used together"), "--geometric", "-A/-a");
- pack_geometry_init(&geometry, &existing, &po_args);
+ pack_geometry_init(&geometry, &existing, &po_args,
+ pack_kept_objects);
pack_geometry_split(&geometry);
}