Re: [PATCH] rev-parse --parseopt: add the --sticked-long mode

2013-10-28 Thread Junio C Hamano
"Philip Oakley"  writes:

> Isn't the origin of the description that it looks like a stick (cane),
> and 'sticked' is a modern verbing of that form? That's what I'd
> assumed anyway.
>
> Googleing "Sticked option" only linked back to Git.

I know web is not the authoritative source of information ;-) but it
seems that looking for "sticked vs stuck" seems to give me many
explanations that boils down to what this says:

http://en.wiktionary.org/wiki/Talk:sticked

and http://en.wiktionary.org/wiki/stick#English lists "sticked" as
"archaic" when the word is used for "To glue; to attach; to adhere".
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH] rev-parse --parseopt: add the --sticked-long mode

2013-10-26 Thread Michael Haggerty
On 10/25/2013 10:18 PM, Nicolas Vigier wrote:
> Add the --sticked-long option to output the options in their long form
> if available, and with their arguments sticked.
> 
> Contrary to the default form (non sticked arguments and short options),
> this can be parsed unambiguously when using options with optional
> arguments :
> 
>  - in the non sticked form, when an option is taking an optional argument
>you cannot know if the next argument is its optional argument, or the
>next option.
> 
>  - the long options form allows to differenciate between an empty argument
>'--option=' and an unset argument '--option', which is not possible
>with short options.

Trivial: s/differenciate/differentiate/

Michael

-- 
Michael Haggerty
mhag...@alum.mit.edu
http://softwareswirl.blogspot.com/
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH] rev-parse --parseopt: add the --sticked-long mode

2013-10-26 Thread Philip Oakley

From: "Junio C Hamano" 

Nicolas Vigier  writes:


On Fri, 25 Oct 2013, Junio C Hamano wrote:


Nicolas Vigier  writes:

> Add the --sticked-long option to output the options in their long 
> form

> if available, and with their arguments sticked.

Hmph, doesn't verb "stick" conjugate to "(present) stick (past) 
stuck

(pp) stuck"?


Ah, yes it seems. I don't know if 'sticked' is also correct or not.

However, 'sticked' is the word that is used in 
Documentation/gitcli.txt

and Documentation/technical/api-parse-options.txt.


Yes, I know. That is why I brought it up before we inflict more
damage to us.
--


Isn't the origin of the description that it looks like a stick (cane), 
and 'sticked' is a modern verbing of that form? That's what I'd assumed 
anyway.


Googleing "Sticked option" only linked back to Git.

Philip 


--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH] rev-parse --parseopt: add the --sticked-long mode

2013-10-25 Thread Junio C Hamano
Nicolas Vigier  writes:

> On Fri, 25 Oct 2013, Junio C Hamano wrote:
>
>> Nicolas Vigier  writes:
>> 
>> > Add the --sticked-long option to output the options in their long form
>> > if available, and with their arguments sticked.
>> 
>> Hmph, doesn't verb "stick" conjugate to "(present) stick (past) stuck
>> (pp) stuck"?
>
> Ah, yes it seems. I don't know if 'sticked' is also correct or not.
>
> However, 'sticked' is the word that is used in Documentation/gitcli.txt
> and Documentation/technical/api-parse-options.txt.

Yes, I know. That is why I brought it up before we inflict more
damage to us.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH] rev-parse --parseopt: add the --sticked-long mode

2013-10-25 Thread Nicolas Vigier
On Fri, 25 Oct 2013, Junio C Hamano wrote:

> Nicolas Vigier  writes:
> 
> > Add the --sticked-long option to output the options in their long form
> > if available, and with their arguments sticked.
> 
> Hmph, doesn't verb "stick" conjugate to "(present) stick (past) stuck
> (pp) stuck"?

Ah, yes it seems. I don't know if 'sticked' is also correct or not.

However, 'sticked' is the word that is used in Documentation/gitcli.txt
and Documentation/technical/api-parse-options.txt.

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH] rev-parse --parseopt: add the --sticked-long mode

2013-10-25 Thread Junio C Hamano
Nicolas Vigier  writes:

> Add the --sticked-long option to output the options in their long form
> if available, and with their arguments sticked.

Hmph, doesn't verb "stick" conjugate to "(present) stick (past) stuck
(pp) stuck"?
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html