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

Re: [PATCH] Make git-clone obey "--" (end argument parsing)

From
HOHeikki Orsila <shd@modeemi.fi>
Date
Nov 2, 2007, 14:21 UTC
Message-ID
<20071102142150.GD9632@jolt.modeemi.cs.tut.fi>
Junio C Hamano wrote:
> I do not think this breaks anything, but does it _help_
> anything in practice?
> 
> What kind of breakage does this patch fix?

It doesn't fix anything, but it is a good usability standard to obey --. I was creating a script that would _automatically_ clone repositories of other users. As a little bit pedantic shell script writer I added "--" and noticed that git clone doesn't handle that, although it's expected behavior from many tools.

-- 
Heikki Orsila			Barbie's law:
heikki.orsila@iki.fi		"Math is hard, let's go shopping!"
http://www.iki.fi/shd
Next: Junio C Hamano
Message 1 of 2 in “Re: [PATCH] Make git-clone obey "--" (end argument parsing)”
  1. Heikki OrsilaNov 2, 2007
  2. Junio C HamanoNov 2, 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.