object-file: convert 'switch' back to 'if'
[git/debian.git] / delta-islands.h
blobeb0f952629fc0a6cdcc113e19a04ddaa54bb32dd
1 #ifndef DELTA_ISLANDS_H
2 #define DELTA_ISLANDS_H
4 struct commit;
5 struct object_id;
6 struct packing_data;
7 struct repository;
9 int island_delta_cmp(const struct object_id *a, const struct object_id *b);
10 int in_same_island(const struct object_id *, const struct object_id *);
11 void resolve_tree_islands(struct repository *r,
12 int progress,
13 struct packing_data *to_pack);
14 void load_delta_islands(struct repository *r, int progress);
15 void propagate_island_marks(struct commit *commit);
16 int compute_pack_layers(struct packing_data *to_pack);
18 #endif /* DELTA_ISLANDS_H */