Patrick Steinhardt <ps@xxxxxx> writes: [snip] > diff --git a/builtin/gc.c b/builtin/gc.c > index 1d30d1af2c..565afda51f 100644 > --- a/builtin/gc.c > +++ b/builtin/gc.c > @@ -1422,7 +1422,7 @@ static int incremental_repack_auto_condition(struct gc_config *cfg UNUSED) > if (incremental_repack_auto_limit < 0) > return 1; > > - for (p = get_packed_git(the_repository); > + for (p = get_all_packs(the_repository); > count < incremental_repack_auto_limit && p; > p = p->next) { > if (!p->multi_pack_index) Nit: We can get rid of the curly braces here [snip]
Attachment:
signature.asc
Description: PGP signature