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

Re: [PATCH] git-commit.txt: (synopsis): move -i and -o before "--"

From
Jonathan Nieder <jrnieder@gmail.com>
Date
Dec 1, 2010, 16:39 UTC
Message-ID
<20101201163930.GE26120@burratino>
In-Reply-To
<74d884bbd76bf090472b123f8053f095cda523f9.1291215072.git.jari.aalto@cante.net>
jari.aalto@cante.net wrote:
> From: Jari Aalto <jari.aalto@cante.net>

"The -i and -o options cannot be used after --, so do not get the reader's hopes up by suggesting they can.

Reported-by: Joey Hess <joey@kitenet.net>"
> Signed-off-by: Jari Aalto <jari.aalto@cante.net>
Thanks.
[...]
Show 10 quoted lines
> --- a/Documentation/git-commit.txt
> +++ b/Documentation/git-commit.txt
> @@ -11,8 +11,8 @@ SYNOPSIS
>  'git commit' [-a | --interactive] [-s] [-v] [-u<mode>] [--amend] [--dry-run]
>  	   [(-c | -C) <commit>] [-F <file> | -m <msg>] [--reset-author]
>  	   [--allow-empty] [--allow-empty-message] [--no-verify] [-e] [--author=<author>]
> -	   [--date=<date>] [--cleanup=<mode>] [--status | --no-status] [--]
> -	   [[-i | -o ]<file>...]
> +	   [--date=<date>] [--cleanup=<mode>] [--status | --no-status]
> +	   [-i | -o ] [--] [<file>...]
While at it, shouldn't we get rid of the extra space after "-o"?
Previous: jari.aalto@cante.netNext: Junio C Hamano
Message 4 of 5 in “git commit synopsis typo?”
  1. Joey HessNov 29, 2010
  2. Junio C HamanoNov 29, 2010
  3. git-commit.txt: (synopsis): move -i and -o before "--"jari.aalto@cante.net, Dec 1, 2010
  4. Jonathan NiederDec 1, 2010
  5. Junio C HamanoDec 1, 2010

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.