completion: simplify completing 'git worktree' subcommands and options
[git] / delta-islands.h
1 #ifndef DELTA_ISLANDS_H
2 #define DELTA_ISLANDS_H
3
4 struct commit;
5 struct object_id;
6 struct packing_data;
7 struct repository;
8
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);
17
18 #endif /* DELTA_ISLANDS_H */