Eric Wong <e@xxxxxxxxx> writes: > Taylor Blau <me@xxxxxxxxxxxx> 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 ;-) > 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. > 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" ;-)?