Re: [Census] So who uses git?
- From
- Radoslaw Szkodzinski <astralstorm@gorzow.mm.pl>
- Date
- Jan 31, 2006, 18:33 UTC
- Message-ID
- <43DFAD91.4080105@gorzow.mm.pl>
- In-Reply-To
- <20060129181240.GA11721@kroah.com>
Greg KH wrote:
Show 8 quoted lines
> On Sun, Jan 29, 2006 at 12:18:45PM +0100, Radoslaw Szkodzinski wrote: >> The only drawback is local cloning. This operation is like 4x slower >> than plain copying of the repository. Probably because it works like an >> ssh clone - creates a pack, copies it, then unpacks. This is just >> inefficient on a local machine. > > Have you tried the "-l" option for cloneing locally? It's _very_ fast, > even for my tiny little old laptop.
Because it's cp -rl <one-tree> <second-tree> and some file modifications, right? It's what I've been using already.
This -l option should be more prominent in the documentation. Maybe it even already is. I've taught myself using git before 0.9.
Thank you. This helps a lot.
> If you add a "-n" that will not checkout the source tree, so you can > compare the time of cloning with the checkout portion.
Cloning without -l option is much slower - some minutes vs below a minute. I could have time(8)d it, but it's no use.
-- GPG Key id: 0xD1F10BA2 Fingerprint: 96E2 304A B9C4 949A 10A0 9105 9543 0453 D1F1 0BA2 AstralStorm