[prev in list] [next in list] [prev in thread] [next in thread]
List: git
Subject: Re: [PATCH] rev-parse --parseopt: fix handling of optional arguments
From: Johannes Sixt <j.sixt () viscovery ! net>
Date: 2013-10-16 7:04:32
Message-ID: 525E3A80.5000500 () viscovery ! net
[Download RAW message or body]
Am 10/16/2013 1:57, schrieb Jonathan Nieder:
> Junio C Hamano wrote:
>
>> You just made these two that the user clearly meant to express two
>> different things indistinguishable.
>>
>> opt.sh -S
>> opt.sh -S ''
> [...]
>> And that is exactly why gitcli.txt tells users to use the 'sticked'
>> form, and ends the bullet point with:
>>
>> An option that takes optional option-argument must be written in
>> the 'sticked' form.
>
> Yes, another possibility in that vein would be to teach rev-parse
> --parseopt an OPTIONS_LONG_STICKED output format, and then parse with
Aren't you people trying to solve something that can't besolved? What does
git commit -S LICENSE
mean? Commit the index and sign with the key-id "LICENSE" or commit just
the file "LICENSE" with the default key-id?
-- Hannes
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic