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

Re: Cloning speed comparison

From
HAH. Peter Anvin <hpa@zytor.com>
Date
Aug 13, 2005, 23:25 UTC
Message-ID
<42FE815F.8050201@zytor.com>
In-Reply-To
<Pine.LNX.4.58.0508122223280.19049@g5.osdl.org>
Linus Torvalds wrote:
Show 15 quoted lines
> 
> On Fri, 12 Aug 2005, H. Peter Anvin wrote:
> 
>>Running it over ssh would be a good way to do authentication...
> 
> 
> Well, if you have ssh as an option, you don't need git-daemon any more, 
> since the protocol that git-daemon does runs quite well over ssh on its 
> own...
> 
> The only point of git-daemon really is when you don't have ssh access (ie
> you may want to give people a limited interface, but not full ssh). Ie
> as-is, it's only for anonymous reads of a git archive, but it obviously
> _could_ do more.
> 

Okay. So use git-daemon for the anonymous users, and run the git protocol over ssh for writing. Seems easy enough for me.

	-hpa
Previous: Linus TorvaldsNext: H. Peter Anvin
Message 7 of 11 in “Cloning speed comparison”
  1. Petr BaudisAug 13, 2005
  2. Linus TorvaldsAug 13, 2005
  3. Petr BaudisAug 13, 2005
  4. Linus TorvaldsAug 13, 2005
  5. H. Peter AnvinAug 13, 2005
  6. Linus TorvaldsAug 13, 2005
  7. H. Peter AnvinAug 13, 2005
  8. H. Peter AnvinAug 13, 2005
  9. Daniel BarkalowAug 15, 2005
  10. Junio C HamanoAug 15, 2005
  11. Daniel BarkalowAug 15, 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.