On Thu, Sep 5, 2024 at 10:22 PM Junio C Hamano <gitster@xxxxxxxxx> wrote: > > Shubham Kanodia <shubham.kanodia10@xxxxxxxxx> writes: > > >> > >> int prefetch; /* is prefetch enabled? */ > >> > > ... > > Updating my patch — please let me know if there's anything else I can > > improve here. > > Renaming the .prefetch member to .prefetch_enabled would eliminate > the need to add any comment on the member in the header file. Do you mean for the struct member here or also the config? For the config, it'll probably be clearer to keep `prefetch` still as it aligns nicely with the boolean `--prefetch` command line flag. I can name the struct member `prefetch_enabled` — though I don't see other boolean remote properties (`prune`, `prune_tags`) add suffixes to indicate they are booleans. > Thanks.