Re: [PATCH GSoC RFC v13 12/12] cat-file: make remote-object-info allow-list dynamic
On Fri, 19 Jun 2026 at 20:27, Pablo Sabater <pabloosabaterr@gmail.com> wrote:
Show 8 quoted lines
>
> The static allow-list in expand_atom() is hardcoded to only allow
> "objectname" and "objectsize" for remote queries. This works because
> up to this point all servers will either support object-info with name
> and size or they do not support them at all, but we cannot expect that
> in a future different servers with different git versions to have the
> same object-info capabilities. Therefore, the allow_list needs to be
> dynamic depending on what does the server advertise.
Nit: "...depending on what does the server advertise." ->
"...depending on what the server advertises."