mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Qi Yong <qiyong@fc-cn.com>
To: Ryan Anderson <ryan@michonline.com>
Cc: Alejandro Bonilla <alejandro.bonilla@hp.com>,
	Dave Jones <davej@redhat.com>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: git fetching
Date: Fri, 30 Dec 2005 15:13:42 +0800	[thread overview]
Message-ID: <43B4DE26.9000306@fc-cn.com> (raw)
In-Reply-To: <43B48A8C.8000708@michonline.com>

Ryan Anderson wrote:

>Dave Jones wrote:
>  
>
>>On Thu, Dec 29, 2005 at 06:53:42PM -0600, Alejandro Bonilla wrote:
>> > Why is it that when I git fetch, this particular part takes a long time?
>> > 
>> > pack/pack-2dae6bb81ac4383926b1d6a646e3f73b130ba124.pack
>> > 
>> > Normally, they go pretty fast, but when a new rc or final releases comes 
>> > up, it takes a lot.
>>
>>That file is ~100MB. That'll take a while to download compared to the rest,
>>even on the fastest net connection :)
>>    
>>
>
>If you're carrying around a mostly current tree, you should probably not
>use "rsync" (which is probably why you're seeing that pack line)
>
>Run this:
>	sed -i.old -e 's/rsync/git/' .git/remotes/origin
>and your pulls should go significantly faster.
>  
>

I don't have the directory .git/remotes/. Here's .git/FETCH_HEAD however.

>(The file named "origin" might be in .git/branches/, also.)
>  
>

Yes, here's .git/branches/origin.

-- Coywolf

>You want the file to contain pretty much just this line:
>git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
>
>Also, out of curiosity, do:
>	du -sh .git/objects/ .git/objects/pack/
>
>You shouldn't see a .git/objects/pack/ much greater than 200 meg, in
>fact, on freshly cloned tree it would only be about 100 meg:
>
>http://www.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git/objects/pack/
>
>  
>


  reply	other threads:[~2005-12-30  7:13 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-30  0:53 Alejandro Bonilla
2005-12-30  1:01 ` Dave Jones
2005-12-30  1:17   ` Ryan Anderson
2005-12-30  7:13     ` Qi Yong [this message]
2005-12-30  9:42     ` Xavier Bestel

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=43B4DE26.9000306@fc-cn.com \
    --to=qiyong@fc-cn.com \
    --cc=alejandro.bonilla@hp.com \
    --cc=davej@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=ryan@michonline.com \
    /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

Powered by JetHome