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

Re: Why not clone to a remote directory over SSH

From
NHNick Hengeveld <nickh@reactrix.com>
Date
Nov 24, 2005, 01:04 UTC
Message-ID
<20051124010409.GQ3968@reactrix.com>
In-Reply-To
<Pine.LNX.4.63.0511240043300.11106@wbgn013.biozentrum.uni-wuerzburg.de>
On Thu, Nov 24, 2005 at 12:45:18AM +0100, Johannes Schindelin wrote:
> BTW, is it possible to convince git-http-push to store packs on the 
> server?

Certainly, I'm not sure what conditions make sense for using packs though.

When pushing changes to the server, there's an advantage to using loose objects in that there is no way to resume a failed transfer. So if the network barfs 99% of the way through, you'll be much less annoyed if you need to retransmit the one object rather than a whole pack.

The same problem exists if you decide to pack loose objects on the server since the pack would have to be generated locally and then sent to the server. At least in this case, other remote clients would still be able to fetch loose objects while packs were in transit.

> For that matter, is it possible to generate the file(s) needed for a dumb
> server on the client side?

Which files are those? I've been working on a way to update info/refs and eventually objects/info/packs.

-- 
For a successful technology, reality must take precedence over public
relations, for nature cannot be fooled.
Previous: Johannes SchindelinNext: Johannes Schindelin
Message 6 of 13 in “Why not clone to a remote directory over SSH”
  1. Carl BaldwinNov 23, 2005
  2. Nick HengeveldNov 23, 2005
  3. Andreas EricssonNov 23, 2005
  4. Nick HengeveldNov 23, 2005
  5. Johannes SchindelinNov 23, 2005
  6. Nick HengeveldNov 24, 2005
  7. Johannes SchindelinNov 24, 2005
  8. Nick HengeveldNov 25, 2005
  9. Junio C HamanoNov 23, 2005
  10. Johannes SchindelinNov 23, 2005
  11. Nick HengeveldNov 24, 2005
  12. Andreas EricssonNov 24, 2005
  13. Linus TorvaldsNov 24, 2005

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.