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

ls-refs protocol extension

From
CSChristian Schilling <christian.schilling.de@gmail.com>
Date
Jan 24, 2021, 12:40 UTC
Message-ID
<CAJsFKUCuvO7Y7-MJZ-GG9Jv+4-ei=-tvx4PF1PbeU61m+CV9RA@mail.gmail.com>

Hi list, I have been working on a custom git server where the sha values required to respond to a ls-refs command can occasionally be expensive to compute. It would be a great improvement of user experience if it was possible to show progress to the user while this is happening. I was hoping that this could be solved by using the already existing sideband-all capability, but unfortunately it seems that even with sideband-all the sideband is not available during ls-refs. So my plan would be to start working on a patch to add sideband support to ls-refs, unless there is some other protocol feature that I have overlooked and that would enable my use case.

Any pointers to either alternative solutions and/or hints to potential pitfalls in the implementation of my suggestion would be greatly appreciated.

Best regards, Christian Schilling

Next: Taylor Blau
Message 1 of 3 in “ls-refs protocol extension”
  1. Christian SchillingJan 24, 2021
  2. Taylor BlauJan 25, 2021
  3. Christian SchillingJan 25, 2021

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.