git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git clone ignores GIT_ALTERNATE_OBJECT_DIRECTORIES
@ 2009-07-30 17:58 Brian Ristuccia
  2009-07-30 20:04 ` Junio C Hamano
  0 siblings, 1 reply; 3+ messages in thread
From: Brian Ristuccia @ 2009-07-30 17:58 UTC (permalink / raw)
  To: git

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-07-31 12:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-30 17:58 git clone ignores GIT_ALTERNATE_OBJECT_DIRECTORIES Brian Ristuccia
2009-07-30 20:04 ` Junio C Hamano
2009-07-31 12:55   ` Brian Ristuccia

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