git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

Previous: Johannes SchindelinNext: Johannes Schindelin
Message 7 of 13 in “builtin-clone: Implement git clone as a builtin command.”
  1. builtin-clone: Implement git clone as a builtin command.Kristian Høgsberg, Dec 11, 2007
  2. Daniel BarkalowDec 11, 2007
  3. Kristian HøgsbergDec 11, 2007
  4. Junio C HamanoDec 12, 2007
  5. Junio C HamanoDec 12, 2007
  6. Johannes SchindelinDec 12, 2007
  7. Kristian HøgsbergDec 12, 2007
  8. Johannes SchindelinDec 12, 2007
  9. Kristian HøgsbergDec 12, 2007
  10. Daniel BarkalowDec 12, 2007
  11. Kristian HøgsbergDec 12, 2007
  12. Daniel BarkalowDec 12, 2007
  13. J. Bruce FieldsDec 24, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.