From: Johannes Schindelin Date: Wed, 12 Dec 2007 18:24:18 GMT Subject: Re: [PATCH] builtin-clone: Implement git clone as a builtin command. Message-ID: In-Reply-To: <1197471866.9269.2.camel@hinata.boston.redhat.com> Hi, On Wed, 12 Dec 2007, Kristian H?gsberg wrote: > On Wed, 2007-12-12 at 11:12 +0000, Johannes Schindelin wrote: > > > On Tue, 11 Dec 2007, Junio C Hamano wrote: > ... > > > * --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(). Sorry, that comment should have gone after another part of the original message. My only two excuses are that I am ill, and am overloaded with work. Ciao, Dscho