Re: [PATCH 14/16] packfile: remove `get_packed_git()`
Patrick Steinhardt <ps@pks.im> writes:
[snip]
Show 13 quoted lines
> 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]