git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: What's cooking in git.git (Jul 2026, #10)

From
Pablo Sabater <pabloosabaterr@gmail.com>
Date
Jul 23, 2026, 21:55 UTC
Message-ID
<DK6AAT0NM6G0.3SP94VJYJWPKU@gmail.com>
In-Reply-To
<xmqqfr1amnvn.fsf@gitster.g>
On Thu Jul 23, 2026 at 4:38 AM CEST, Junio C Hamano wrote:
Show 26 quoted lines
>
> * ps/cat-file-remote-object-info (2026-07-18) 13 commits
>  - cat-file: make remote-object-info allow-list adapt to the server
>  - cat-file: add remote-object-info to batch-command
>  - transport: add client support for object-info
>  - serve: advertise object-info feature
>  - protocol-caps: check object existence regardless of the attributes requested
>  - fetch-pack: move fetch initialization
>  - connect: make write_fetch_command_and_capabilities() more generic
>  - fetch-pack: move write_fetch_command_and_capabilities() to connect.c
>  - fetch-pack: use unsigned int for hash_algo variable
>  - fetch-pack: drop the static advertise_sid variable
>  - t1006: extract helper functions into new 'lib-cat-file.sh'
>  - cat-file: declare loop counter inside for()
>  - transport-helper: fix memory leak of helper on disconnect
>
>  The 'remote-object-info' command has been added to 'git cat-file
>  --batch-command', allowing clients to request object metadata
>  (currently size) from a remote server via protocol v2 without
>  downloading the entire object.  Format placeholders are dynamically
>  filtered on the client based on server-advertised capabilities,
>  returning empty strings for inapplicable or unsupported fields.
>
>  Needs review.
>  source: <20260718-ps-eric-work-rebase-v20-0-0c13962ac532@gmail.com>
>
Hi,

Karthik reviewed it a few days ago [1] and it looked good to him. Two tiny nits came up, which don't seem worth a reroll on their own.

I think the series is good unless further issues come up.
[1]: https://lore.kernel.org/git/CAOLa=ZS8J4t12ab1=3-LRYNuZOwqSHG861iYm97JjF3mGprvJA@mail.gmail.com/

Thanks, Pablo

Previous: Junio C HamanoNext: Junio C Hamano
Message 2 of 4 in “What's cooking in git.git (Jul 2026, #10)”
  1. Junio C HamanoJul 23, 2026
  2. Pablo SabaterJul 23, 2026
  3. Junio C HamanoJul 24, 2026
  4. Pablo SabaterJul 24, 2026

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.