git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* Request for a "connected mode" -- server-side command execution
@ 2022-10-05 11:23 Alireza
  2022-10-05 22:19 ` brian m. carlson
  0 siblings, 1 reply; 2+ messages in thread
From: Alireza @ 2022-10-05 11:23 UTC (permalink / raw)
  To: git@vger.kernel.org

There are a few mechanisms already to improve perf in big repositories
but they all need a change in usage flow. I had this idea for a while
now and I'd appreciate your feedback on it.

The "connected mode" essentially means to run all git commands on the
server and only download relevant stuff locally. To demonstrate the
usage flow:

git clone --connected <url> # new repo
git config fetch.connected true # existing repo

From there, git is to decide whether or not a command should be sent
to the server. For instance, if all required refs are present locally,
it's run on the machine, otherwise it's sent to the server, collecting
the result and possibly a minimum set of new objects. From the user's
perspective, all commands are run on the latest revision without an
explicit (possibly extensive) fetch.

This would make a --connected clone implicitly shallow, but new data
can be downloaded on demand. User flow is not changed in any other
ways.

Thanks,

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-10-05 22:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-05 11:23 Request for a "connected mode" -- server-side command execution Alireza
2022-10-05 22:19 ` brian m. carlson

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).