git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* 'git clone' doesn't use alternates automatically?
@ 2009-01-30 22:12 James Pickens
  2009-01-31  7:12 ` Jeff King
  0 siblings, 1 reply; 13+ messages in thread
From: James Pickens @ 2009-01-30 22:12 UTC (permalink / raw)
  To: Git ML

Hi,

I have a central, shared Git repository on an NFS drive at path
$central.  I have added "$central/objects" to
$central/objects/info/alternates.  I see that when I clone this
repository with Git 1.6.1, the alternates file is automatically copied
to the clone, but so are all the pack files and loose objects.  If I
then cd to the clone and run 'git gc', it removes the redundant local
objects.

I thought I tested this setup a few months back, and 'git clone'
automatically used the alternates file to avoid copying the redundant
objects into the clone.  Has this behavior changed, or is my memory
bad?

James

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

end of thread, other threads:[~2009-02-03  6:07 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-30 22:12 'git clone' doesn't use alternates automatically? James Pickens
2009-01-31  7:12 ` Jeff King
2009-01-31 20:08   ` James Pickens
2009-01-31 21:08     ` Jakub Narebski
2009-01-31 21:43       ` James Pickens
2009-01-31 21:55     ` Jeff King
2009-02-01  1:19       ` Junio C Hamano
2009-02-02 13:07         ` Jeff King
2009-02-03  4:30           ` Junio C Hamano
2009-02-03  6:06             ` Jeff King
2009-02-01  0:55     ` Junio C Hamano
2009-02-01  1:32       ` James Pickens
2009-02-01  1:38         ` Junio C Hamano

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