[PATCH] Short-circuit git-clone-pack while cloning locally (take 2).
authorJunio C Hamano <junkio@cox.net>
Wed, 6 Jul 2005 20:04:21 +0000 (13:04 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 7 Jul 2005 22:53:35 +0000 (15:53 -0700)
commite95ab1edf38a0747832330cfa66763c25af9ad62
treed2d3cda679cc6de756b6c76bd3433dea068ba9a1
parentdd7ba8b4949535c24e604a37709db0e3be9ccbbc
[PATCH] Short-circuit git-clone-pack while cloning locally (take 2).

When we are cloning a repository on a local filesystem, it is
faster to just create a hard linkfarm of .git/object hierarchy
and copy the .git/refs files.  By default, the script uses the
clone-pack method, but it can be told with the -l flag to do the
hard linkfarm (falling back on recursive file copy) to replicate
the .git/object hierarchy.

Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
git-clone-script