Re: git-commit could allow grouping of short options
[Cc: git@vger.kernel.org]
Eric Wong wrote:
> Gerrit Pape <pape@smarden.org> wrote:
Show 12 quoted lines
>> Hi, please see http://bugs.debian.org/407241:
>>
>>> git-commit could allow grouping of short options, rather than failing:
>>>
>>> $ git commit -avs
>>> Usage: /usr/bin/git-commit [-a] [-s] [-v] [--no-verify] ...
>>
>> I personally would like this too, not only for git-commit.
>
> I had some patches to implement this a while ago ('gitopt') but I never
> got around to cleaning them up and fixing some bugs. Hopefully I'll
> have time in the next weeks.It would be nice to also have long, descriptiove option for each short, single character option of each git command, for example --patch as longopt alternative to git-diff-tree -p option, etc.
--
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git