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

Re: How to clone faster via ssh ?

From
ALAlexander Litvinov <lan@ac-sw.com>
Date
Oct 26, 2005, 02:46 UTC
Message-ID
<200510260946.58443.lan@ac-sw.com>
In-Reply-To
<7vbr1dh5y7.fsf@assigned-by-dhcp.cox.net>
Show 17 quoted lines
> The time to unpack the resulting pack on this end is eliminated
> if you use git from last week, namely this commit:
>
> commit e1c7ada6dd1fdf249d0bb84f3293d3be768b9239
> Author: Junio C Hamano <junkio@cox.net>
> Date:   Wed Oct 19 14:43:43 2005 -0700
>
>     git-clone: always keep pack sent from remote.
>
>     This deprecates --keep and -q flags and always keeps the
>     pack
>     sent from the remote site.  Corresponding configuration
>     variables are also removed.
>
>     Signed-off-by: Junio C Hamano <junkio@cox.net>
>
> But you would still pay for creating a pack on the remote side.
Yeah ! Thanks.

Version for todays master branch works much faster: lan@lan:~/tmp/git/billing> time git-clone -n ssh://lan@lan/home/lan/tmp/git/billing/repo r1 defaulting to local storage area lan@lan's password: Packing 204607 objects

real 4m0.107s user 0m11.879s sys 0m1.717s

And it makes only one pack. Great.
Previous: Junio C Hamano
Message 6 of 6 in “How to clone faster via ssh ?”
  1. Alexander LitvinovOct 25, 2005
  2. Alexander LitvinovOct 25, 2005
  3. Johannes SchindelinOct 25, 2005
  4. Alexander LitvinovOct 25, 2005
  5. Junio C HamanoOct 25, 2005
  6. Alexander LitvinovOct 26, 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.