diff: die when failing to read index in git-diff builtin
[alt-git.git] / delta-islands.h
blob8d1591ae28be302d2bb56fe05ad6c3465bf7668a
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);
17 void free_island_marks(void);
19 #endif /* DELTA_ISLANDS_H */