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

Re: batch-command wishlist [was: [TOPIC 02/12] Libification Goals and Progress]

From
Junio C Hamano <gitster@pobox.com>
Date
Oct 3, 2023, 16:15 UTC
Message-ID
<xmqq7co33cok.fsf@gitster.g>
In-Reply-To
<20231003005251.M353509@dcvr>
Eric Wong <e@80x24.org> writes:
Show 11 quoted lines
> Taylor Blau <me@ttaylorr.com> wrote:
>> * (Jonathan Tan) back to process isolation: is the short lifetime of the process
>>   important?
>> * (Taylor Blau) seems like an impossible goal to be able to do multi-command
>>   executions in a single process, the code is just not designed for it.
>
> -- Split out from https://lore.kernel.org/git/ZRrfN2lbg14IOLiK@nand.local/
> Thanks for posting in an accessible format for non-JS/video users.
>
>> * (Junio) is anybody using the `git cat-file --batch-command` mode that switches
>>   between batch and batch-check.

This is not exactly what I asked about---I was asking about the use of the "a long living process serves many requests" pattern ;-)

Show 5 quoted lines
> But it would be nice if --batch-command grew more functionality:
>
> * ability to add/remove alternates
> * ability to specify a preferred alternate for a lookup[1]
> * detect unlinked packs/removed repos
To the third you would also want to notice an updated index, too.
Show 7 quoted lines
> Not sure if cat-file is the place for it, but a persistent
> process to deal with:
>
> * `git config -f FILENAME ...' (especially --get-urlmatch --type=FOO)
> * approxidate parsing for other tools[2]
>
> Would also be nice...
"git daemon" ;-)?
Previous: Eric WongNext: Jeff King
Message 2 of 5 in “batch-command wishlist [was: [TOPIC 02/12] Libification Goals and Progress]”
  1. Eric WongOct 3, 2023
  2. Junio C HamanoOct 3, 2023
  3. Jeff KingOct 3, 2023
  4. Eric WongOct 3, 2023
  5. Jeff KingOct 3, 2023

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.