Revision 26e28fe7bbdf8b22ed096dfd76a9311e86ffb200 authored by Jeff King on 30 September 2020, 12:30:27 UTC, committed by Junio C Hamano on 30 September 2020, 19:53:48 UTC
We complain if "test-tool advise" is not given an argument, but we quietly ignore any additional arguments it receives. Let's instead check that we got the expected number. As a bonus, this silences -Wunused-parameter, which notes that we don't ever look at argc. While we're here, we can also fix the indentation in the conditional. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 75d3bee
delta-islands.h
#ifndef DELTA_ISLANDS_H
#define DELTA_ISLANDS_H
struct commit;
struct object_id;
struct packing_data;
struct repository;
int island_delta_cmp(const struct object_id *a, const struct object_id *b);
int in_same_island(const struct object_id *, const struct object_id *);
void resolve_tree_islands(struct repository *r,
int progress,
struct packing_data *to_pack);
void load_delta_islands(struct repository *r, int progress);
void propagate_island_marks(struct commit *commit);
int compute_pack_layers(struct packing_data *to_pack);
#endif /* DELTA_ISLANDS_H */
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...