git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Alexander Litvinov <lan@ac-sw.com>
To: Junio C Hamano <junkio@cox.net>
Cc: Johannes Schindelin <Johannes.Schindelin@gmx.de>, git@vger.kernel.org
Subject: Re: How to clone faster via ssh ?
Date: Wed, 26 Oct 2005 09:46:58 +0700	[thread overview]
Message-ID: <200510260946.58443.lan@ac-sw.com> (raw)
In-Reply-To: <7vbr1dh5y7.fsf@assigned-by-dhcp.cox.net>

> 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.

      reply	other threads:[~2005-10-26  2:47 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-25  7:49 How to clone faster via ssh ? Alexander Litvinov
2005-10-25  7:54 ` Alexander Litvinov
2005-10-25  9:04   ` Johannes Schindelin
2005-10-25 11:30     ` Alexander Litvinov
2005-10-25 17:17     ` Junio C Hamano
2005-10-26  2:46       ` Alexander Litvinov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200510260946.58443.lan@ac-sw.com \
    --to=lan@ac-sw.com \
    --cc=Johannes.Schindelin@gmx.de \
    --cc=git@vger.kernel.org \
    --cc=junkio@cox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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 NNTP newsgroup(s).