From: Junio C Hamano <gitster@pobox.com>
To: Heikki Orsila <shd@modeemi.fi>
Cc: git@vger.kernel.org
Subject: Re: [PATCH] Make git-clone obey "--" (end argument parsing)
Date: Fri, 02 Nov 2007 14:32:11 -0700 [thread overview]
Message-ID: <7vwst0z63o.fsf@gitster.siamese.dyndns.org> (raw)
In-Reply-To: 20071102142150.GD9632@jolt.modeemi.cs.tut.fi
Heikki Orsila <shd@modeemi.fi> writes:
> 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,...
The first real parameter will always be the remote repo
URL^Wlocator, and sane people won't have anything that begin
with a hyphen for that, will they?
So the change is only for consistency's sake.
I am not saying that is a bad thing. I just wanted to
understand if there was a real breakage there.
Thanks. Will apply.
next prev parent reply other threads:[~2007-11-02 21:32 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-02 14:21 [PATCH] Make git-clone obey "--" (end argument parsing) Heikki Orsila
2007-11-02 21:32 ` Junio C Hamano [this message]
-- strict thread matches above, loose matches on Subject: below --
2007-11-01 19:54 Heikki Orsila
2007-11-01 20:39 ` Junio C Hamano
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7vwst0z63o.fsf@gitster.siamese.dyndns.org \
--to=gitster@pobox.com \
--cc=git@vger.kernel.org \
--cc=shd@modeemi.fi \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).