add: speed up cmd_add() by utilizing read_cache_preload()
[git/gitster.git] / delta-islands.h
blobb635cd07d8d80ea14b86e72da5dcaee1fb4ab11a
1 #ifndef DELTA_ISLANDS_H
2 #define DELTA_ISLANDS_H
4 struct object_id;
5 struct packing_data;
6 struct commit;
8 int island_delta_cmp(const struct object_id *a, const struct object_id *b);
9 int in_same_island(const struct object_id *, const struct object_id *);
10 void resolve_tree_islands(int progress, struct packing_data *to_pack);
11 void load_delta_islands(void);
12 void propagate_island_marks(struct commit *commit);
13 int compute_pack_layers(struct packing_data *to_pack);
15 #endif /* DELTA_ISLANDS_H */