git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Shallow clones (git clone --depth) are broken?
@ 2009-02-19 19:55 Jim Ramsay
  2009-02-20  2:49 ` Jeff King
  0 siblings, 1 reply; 2+ messages in thread
From: Jim Ramsay @ 2009-02-19 19:55 UTC (permalink / raw)
  To: git

I've been trying to experiment with shallow clones, however I can't
seem to actually create one.  Here's what I've tried, for example:

git clone --depth 1 git://git.fluxbox.org/fluxbox.git

However, this gets me everything, and takes quite a while.  After it
completes, running gitk shows me the entire history, and the size of
the .git directory is the same as a full clone I've done previously.

I've tried this with both 1.6.0.2 and 1.6.1.3, to the same effect.

Can anyone out there verify that this --depth option actually does
anything?  Or could it potentially be the version of git on the
server?

If it's not just something odd I'm doing, I can take the time to
try to figure out in which version this *does* work, and when it
stopped... Though others out there may be more equipped than I to chase
this down.

-- 
Jim Ramsay

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

end of thread, other threads:[~2009-02-20  2:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-19 19:55 Shallow clones (git clone --depth) are broken? Jim Ramsay
2009-02-20  2:49 ` Jeff King

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