Thread (2 messages) flat view 2 messages, 2 authors, 2016-06-15

Re: quick bare clones taking longer?

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:43:09

David Miller [off-list ref] writes:
master.kernel.org just upgraded to git-1.5.1.4 and I notice
that doing something like this:

	git clone --bare -n -l -s ../torvalds/linux-2.6.git test-2.6.git

is no longer an instantaneous operation, it seems to be doing a lot
of stuff now:

Initialized empty Git repository in /home/davem/git/test-2.6.git/
remote: Generating pack...
remote: Done counting 480025 objects.
remote: Deltifying 480025 objects.
remote:  100% (480025/480025) done
Indexing 480025 objects.
remote: Total 480025 (delta 385878), reused 473265 (delta 379369)
 100% (480025/480025) done
Resolving 385878 deltas.
 100% (385878/385878) done

Is there a new way to get a quick clone?
There is something very wrong.  "-l -s" should never go to the
"remote: Generating pack..." codepath.  Is that reproducible?
Could you try "sh -x git-clone" it?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help