All of lore.kernel.org
 help / color / mirror / Atom feed
From: Brian Ristuccia <brian@ristuccia.com>
To: git@vger.kernel.org
Subject: git clone ignores GIT_ALTERNATE_OBJECT_DIRECTORIES
Date: Thu, 30 Jul 2009 13:58:33 -0400	[thread overview]
Message-ID: <20090730175833.GV12813@osiris.978.org> (raw)

When running git clone, it seems that GIT_ALTERNATE_OBJECT_DIRECTORIES is
not considered. Even though most of the needed objects are in
GIT_ALTERNATE_OBJECT_DIRECTORIES, I still wind up with a ton of traffic over
the network and a huge .git/objects hierarchy.

Running "git gc" later pares down the .git/objects to a more reasonable
size, so it seems the problem is limited to git clone. Using "git clone
--reference" also seems to do the right thing.

Is this behavior intentional for some good reason I've overlooked, or have I
stumbled on a bug?

-- 
Brian Ristuccia
brian@ristuccia.com

             reply	other threads:[~2009-07-30 18:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-30 17:58 Brian Ristuccia [this message]
2009-07-30 20:04 ` git clone ignores GIT_ALTERNATE_OBJECT_DIRECTORIES Junio C Hamano
2009-07-31 12:55   ` Brian Ristuccia

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=20090730175833.GV12813@osiris.978.org \
    --to=brian@ristuccia.com \
    --cc=git@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.