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

Re: Wrong help text on git status -h ?

From
Matthieu Moy <matthieu.moy@imag.fr>
Date
Apr 23, 2008, 16:00 UTC
Message-ID
<vpqfxtc36j4.fsf@bauges.imag.fr>
In-Reply-To
<loom.20080423T125136-135@post.gmane.org>
Stefan Näwe <stefan.naewe+git@gmail.com> writes:
> Getting help for commit on 'git status -h' can't be right, can it ?
> Or am I missing something?
I'd say: both.

git status could have been spelled "git commit --dry-run", they're actually the same command, but "git status" stops before launching the editor and doing the actual commit. So, they take the exact same set of options.

That said, in an ideal world, "git status -h" would mention that the commit message options are ignored with "git status".

-- 
Matthieu
Previous: Stefan NäweNext: Stefan Näwe
Message 2 of 3 in “Wrong help text on git status -h ?”
  1. Stefan NäweApr 23, 2008
  2. Matthieu MoyApr 23, 2008
  3. Stefan NäweMay 13, 2008

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.