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

Re: Git dumb HTTP protocol should work without update-server-info

From
Patrick Steinhardt <ps@pks.im>
Date
Sep 8, 2025, 09:40 UTC
Message-ID
<aL6kevExmhesoEWN@pks.im>
In-Reply-To
<aL2fn4j5uhrVWrDp@fruit.crustytoothpaste.net>
On Sun, Sep 07, 2025 at 03:07:11PM +0000, brian m. carlson wrote:
> I will also note that the dumb HTTP protocol doesn't work with reftable
> and there was some suggestion of removing it for Git 3.0.  It certainly
> will not work out of the box with Git 3.0, since the default is
> reftable.

Yes, indeed. In theory though reftables could also be the solution to the underlying issue: the client can be tought to read the "tables.list" file and then fetch all tables listed therein. The result would be fully consistent, unless any of the tables gets garbage collected. The client would notice and abort the operation, after which it could restart the operation.

In that case there would be no need for git-update-server-info(1) anymore. The "tables.list" file sits in a well-known location, identifies all other tables we have to download, and there are no atomicity issues anymore.

The catch of course is that somebody would have to implement this :)
Patrick
Previous: brian m. carlsonNext: Junio C Hamano
Message 5 of 11 in “Git dumb HTTP protocol should work without update-server-info”
  1. Milan HauthSep 7, 2025
  2. brian m. carlsonSep 7, 2025
  3. Milan HauthSep 7, 2025
  4. brian m. carlsonSep 7, 2025
  5. Patrick SteinhardtSep 8, 2025
  6. Junio C HamanoSep 8, 2025
  7. Patrick SteinhardtSep 9, 2025
  8. Jeff KingSep 8, 2025
  9. Junio C HamanoSep 8, 2025
  10. brian m. carlsonSep 8, 2025
  11. Jeff KingSep 9, 2025

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.