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

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

From
JTJoakim Tjernlund <joakim.tjernlund@transmode.se>
Date
Oct 10, 2007, 22:41 UTC
Message-ID
<011d01c80b8e$b0c0dc30$04ac10ac@Jocke>
In-Reply-To
<Pine.LNX.4.64.0710102254340.4174@racer.site>
Show 13 quoted lines
> -----Original Message-----
> From: Johannes Schindelin [mailto:Johannes.Schindelin@gmx.de] 
> 
> Hi,
> 
> On Wed, 10 Oct 2007, Joakim Tjernlund wrote:
> 
> > I should know better than to throw out ideas like this. 
> Next time I have 
> > an suggestion I will think long and hard about it before 
> posting again.
> 
> Hey, it was just a try.
Some people might get scared away from such tries
> 
> Personally, I am not interested in the feature _you_ asked for, but I 
NP, if it only me that is interested then this is probably not such a good idea.
Show 7 quoted lines
> 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 :)

 Jocke
Show 8 quoted lines
> 
> But maybe somebody else is interested enough to scratch your itch.
> 
> Ciao,
> Dscho
> 
> 
> 
Previous: Johannes SchindelinNext: Johannes Schindelin
Message 5 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.