Re: [PATCH] builtin-clone: Implement git clone as a builtin command.
- From
Kristian Høgsberg <krh@redhat.com>
- Date
- Dec 12, 2007, 15:04 UTC
- Message-ID
- <1197471866.9269.2.camel@hinata.boston.redhat.com>
- In-Reply-To
- <Pine.LNX.4.64.0712121103510.27959@racer.site>
On Wed, 2007-12-12 at 11:12 +0000, Johannes Schindelin wrote:
> Hi, > > On Tue, 11 Dec 2007, Junio C Hamano wrote:
...
Show 10 quoted lines
> > * --shared optimization > > > > This is a very easy addition to "git remote add". You make sure that > > the added remote repository is on a local machine, and set up > > alternates to point at its object store. > > Concur. > > Since I want to lose that dependency on cpio on Windows (which we fake by > using tar), I'll implement this in C anyway.
It's not used for --shared (which is just writing an alternates file), it's used for -l, hardlinking locally cloned repos. The code to replace cpio is already in the patch I sent, look for clone_local().
cheers, Kristian