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

Re: [RFC PATCH] Allow cloning branches selectively

From
Carlos Martín Nieto <cmn@elego.de>
Date
Dec 25, 2011, 19:00 UTC
Message-ID
<20111225190053.GC6361@beez.lab.cmartin.tk>
In-Reply-To
<CACsJy8ANZvkY+na-tM95prHEfXD+N2OT8+3NLeccycGL1BmbCg@mail.gmail.com>
On Sat, Dec 24, 2011 at 11:31:51AM +0700, Nguyen Thai Ngoc Duy wrote:
Show 7 quoted lines
> On Sat, Dec 24, 2011 at 3:13 AM, Carlos Martín Nieto <cmn@elego.de> wrote:
> > Sometimes it's useful to clone only a subset of branches from a remote
> > we're cloning. Teach clone the --fetch option to select which branches
> > should get fetched.
> 
> What about tags? Are all tags fetched or only ones part of the
> selected branches?

I haven't really touched that part of the code, so I think it'll fetch every tag, as that's what clone does by default. Certainly something that should get fixed.

   cmn
Previous: Nguyen Thai Ngoc DuyNext: Jakub Narebski
Message 5 of 7 in “Allow cloning branches selectively”
  1. Allow cloning branches selectivelyCarlos Martín Nieto, Dec 23, 2011
  2. Junio C HamanoDec 23, 2011
  3. Carlos Martín NietoDec 25, 2011
  4. Nguyen Thai Ngoc DuyDec 24, 2011
  5. Carlos Martín NietoDec 25, 2011
  6. Jakub NarebskiDec 25, 2011
  7. Carlos Martín NietoDec 25, 2011

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.