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

Re: Unify subcommand structure; introduce double dashes for all subcommands?

From
Junio C Hamano <gitster@pobox.com>
Date
Jul 23, 2014, 17:52 UTC
Message-ID
<xmqqiomodkt9.fsf@gitster.dls.corp.google.com>
In-Reply-To
<53CFBA1A.8040600@gmail.com>
Stefan Beller <stefanbeller@gmail.com> writes:
Show 10 quoted lines
> A git command is generally setup as:
> 	git <command> [<subcommand>] [<options>] ...
>
> The subcommands vary wildly by the nature of the command. However all
> subcommands
> could at least follow one style. The commands bundle, notes, stash and
> submodule
> have subcommands without two leading dashes (i.e. git stash list) as
> opposed to all
> other commands (i.e. git tag --list).
Sounds familiar.  E.g. here is a similar thread about a year ago.
  http://thread.gmane.org/gmane.comp.version-control.git/231376/focus=231478

Further discussions to make the plan more concrete is very much welcomed.

Thanks.
Previous: Stefan BellerNext: Stefan Beller
Message 2 of 5 in “Unify subcommand structure; introduce double dashes for all subcommands?”
  1. Stefan BellerJul 23, 2014
  2. Junio C HamanoJul 23, 2014
  3. Stefan BellerAug 10, 2014
  4. Junio C HamanoAug 10, 2014
  5. Stefan BellerAug 10, 2014

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.