Re: [PATCH GSoC RFC v13 12/12] cat-file: make remote-object-info allow-list dynamic
- From
- Chandra Pratap <chandrapratap3519@gmail.com>
- Date
- Jun 21, 2026, 06:27 UTC
- Message-ID
- <CA+J6zkRojd3KVfna05SuRwwHruYJmenr1NZ03DY-AtwT4TDf6Q@mail.gmail.com>
- In-Reply-To
- <CA+J6zkRoS5uZFkW1jJv1JO7jPMPO-ZANOYerbUxn4WPaApPV6g@mail.gmail.com>
Forgot to mention this in the earlier email, but the comment explaining why the backward iteration of the list is needed should also explain why it is fine to cast `args->object_info_options->nr` to `int` from `size_t` (it will always be a small number, so no risk of overflow).