[PATCH RFC 1/5] transport-internal: update fetch_object_info comment
- From
Pablo Sabater <pabloosabaterr@gmail.com>
- Date
- Sep 30, 2026, 00:21 UTC
- Message-ID
- <20260930-backfill-dryrun-v1-1-1128f247ee01@gmail.com>
- In-Reply-To
- <20260930-backfill-dryrun-v1-0-1128f247ee01@gmail.com>
The comment describing the fetch_object_info() callback in struct transport_vtable says that only the object size can be fetched. The object-info capability can now also report the object type, or neither, to only check whether an object exists on the remote.
Update the comment.
Signed-off-by: Pablo Sabater <pabloosabaterr@gmail.com> --- transport-internal.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/transport-internal.h b/transport-internal.h index a10b27cc81..626ceaae2b 100644 --- a/transport-internal.h +++ b/transport-internal.h @@ -48,8 +48,8 @@ struct transport_vtable { int (*fetch_refs)(struct transport *transport, int refs_nr, struct ref **refs); /* - * Fetch object info (only size currently) from remote without - * downloading the objects. + * Fetch object info (size, type, or none of them to only check + * for existence) from the remote without downloading the objects. * * Uses object-info capability of v2 protocol. */
-- 2.54.0