Re: quick bare clones taking longer?
- From
Junio C Hamano <junkio@cox.net>
- Date
- May 9, 2007, 15:41 UTC
- Message-ID
- <7vvef2t36n.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <20070509.020916.80034730.davem@davemloft.net>
David Miller <davem@davemloft.net> writes:
Show 20 quoted lines
> 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?