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

Re: 2.6.17-rc6-mm2

From
GGGoo GGooo <googgooo@gmail.com>
Date
Jun 16, 2006, 05:49 UTC
Message-ID
<ef5305790606152249n2702873fy7b708d9c47c78470@mail.gmail.com>
In-Reply-To
<Pine.LNX.4.64.0606151937360.5498@g5.osdl.org>
On 6/16/06, Linus Torvalds <torvalds@osdl.org> wrote:
Show 11 quoted lines
> So to recap:
>  - http is fundamentally weaker, and needs some server-side help to work
>  - rsync is fine for the initial clone, but doesn't actually know what
>    it's doing, so the end result can actually even be a corrupted
>    repository, because you happened to rsync just as it was updating.
>  - the native git protocol generally should be considered the golden
>    standard, where the other ones are just fallbacks in case of problems
>    (like firewalls that don't let git:// through, or more commonly hosted
>    servers that don't do the git protocol at all).
>
> Which hopefully clarifies the issue a bit.

Thanks for explanation. Unfortunately I can't use git:// with "git pull" (at least in git-1.3.2). First it does some traffic, that suddenly stops - I guess the server starts doing *something*, perhaps preparing the update for me or whatnot. After a pretty long while it sends some more data but in the meanwhile my ADSL router dropped the NAT entry and git sits on my side waiting for data forever. Recently I tried the same on a system with direct Inet connection and that worked just fine.

I suggest adding SO_KEEPALIVE option on the git socket.
Goo
Previous: Linus TorvaldsNext: Linus Torvalds
Message 3 of 11 in “Re: 2.6.17-rc6-mm2”
  1. Goo GGoooJun 16, 2006
  2. Linus TorvaldsJun 16, 2006
  3. Goo GGoooJun 16, 2006
  4. Linus TorvaldsJun 16, 2006
  5. H. Peter AnvinJun 16, 2006
  6. Junio C HamanoJun 16, 2006
  7. Linus TorvaldsJun 17, 2006
  8. bert hubertJun 16, 2006
  9. Michal LudvigJun 20, 2006
  10. Linus TorvaldsJun 20, 2006
  11. Uwe ZeisbergerJun 16, 2006

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.