aboutsummaryrefslogtreecommitdiff
path: root/repack.h
diff options
context:
space:
mode:
Diffstat (limited to 'repack.h')
-rw-r--r--repack.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/repack.h b/repack.h
index 3a688a12ee..bc9f2e1a5d 100644
--- a/repack.h
+++ b/repack.h
@@ -103,9 +103,19 @@ struct pack_geometry {
uint32_t pack_nr, pack_alloc;
uint32_t split;
+ struct packed_git **promisor_pack;
+ uint32_t promisor_pack_nr, promisor_pack_alloc;
+ uint32_t promisor_split;
+
int split_factor;
};
+void pack_geometry_repack_promisors(struct repository *repo,
+ const struct pack_objects_args *args,
+ const struct pack_geometry *geometry,
+ struct string_list *names,
+ const char *packtmp);
+
void pack_geometry_init(struct pack_geometry *geometry,
struct existing_packs *existing,
const struct pack_objects_args *args);