Calvin Wan <calvinwan@xxxxxxxxxx> writes: > It works with other commands. The idea is that you would enter a line like: > > remote-object-info <remote> <oid> <oid> ... <oid> > > rather than > > remote-object-info <remote> <oid> > remote-object-info <remote> <oid> > remote-object-info <remote> <oid> > > since each invocation of remote-object-info would cause another round > trip to the server. Hmm. It looks unfortunate, but if we do not care about hitting the pkt-line length limit, that might be OK. I dunno. I would have expected to see something like start batch request 1 request 2 ... request 2000 flush batch during which the other side patiently listens to our requests. They (meaning the local process that reads the above and talks to a remote as needed) can coalesce the requests of the same kind (e.g. going to the same remote) while buffering and optimize their operation without having the caller of them to worry about it that way, no?