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

RE: [FEATURE REQUEST] git clone, just clone selected branches?

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Oct 10, 2007, 23:01 UTC
Message-ID
<Pine.LNX.4.64.0710110000420.4174@racer.site>
In-Reply-To
<011d01c80b8e$b0c0dc30$04ac10ac@Jocke>
Hi,
On Thu, 11 Oct 2007, Joakim Tjernlund wrote:
Show 12 quoted lines
> > -----Original Message-----
> > From: Johannes Schindelin [mailto:Johannes.Schindelin@gmx.de] 
> > 
> > thought it might be pretty easy for you to rewrite git-clone.sh to 
> > take advantage of git-fetch and git-remote, and that your desired 
> > feature would be easier to add then.  So easy that the whole thing 
> > would have taken you all of an hour or so.
> 
> Well, now I had to take a look and I think you are overestimating my 
> capabilities :) It is a 12KB script full of git-plumbing I have never 
> used, nor do I do sh scripts well. It might be an hour for you, but I 
> would probably have to spend the whole day :)

Heh. git-clone is pretty crowded. But it predates git-remote. And I have a hunch that git-clone will be a trivial script when it calls git-remote and the git-fetch.

Ciao, Dscho

Previous: Joakim TjernlundNext: Linus Torvalds
Message 6 of 9 in “[FEATURE REQUEST] git clone, just clone selected branches?”
  1. Joakim TjernlundOct 10, 2007
  2. Johannes SchindelinOct 10, 2007
  3. Joakim TjernlundOct 10, 2007
  4. Johannes SchindelinOct 10, 2007
  5. Joakim TjernlundOct 10, 2007
  6. Johannes SchindelinOct 10, 2007
  7. Linus TorvaldsOct 10, 2007
  8. Joakim TjernlundOct 10, 2007
  9. Andreas EricssonOct 11, 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.