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

Re: git-commit could allow grouping of short options

From
Jakub Narebski <jnareb@gmail.com>
Date
Feb 5, 2007, 09:18 UTC
Message-ID
<eq6snc$80m$1@sea.gmane.org>
In-Reply-To
<20070204010559.GA3421@localdomain>
[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
Previous: Eric Wong
Message 3 of 3 in “git-commit could allow grouping of short options”
  1. Gerrit PapeFeb 3, 2007
  2. Eric WongFeb 4, 2007
  3. Jakub NarebskiFeb 5, 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.