git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git commit synopsis typo?
@ 2010-11-29 17:37 Joey Hess
  2010-11-29 20:24 ` Junio C Hamano
  0 siblings, 1 reply; 5+ messages in thread
From: Joey Hess @ 2010-11-29 17:37 UTC (permalink / raw)
  To: git

[-- Attachment #1: Type: text/plain, Size: 472 bytes --]

Shouldn't the -i and -o options be listed before the -- option?

       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>...]

-- 
see shy jo

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 828 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: git commit synopsis typo?
  2010-11-29 17:37 git commit synopsis typo? Joey Hess
@ 2010-11-29 20:24 ` Junio C Hamano
  2010-12-01 14:51   ` [PATCH] git-commit.txt: (synopsis): move -i and -o before "--" jari.aalto
  0 siblings, 1 reply; 5+ messages in thread
From: Junio C Hamano @ 2010-11-29 20:24 UTC (permalink / raw)
  To: Joey Hess; +Cc: git

Joey Hess <joey@kitenet.net> writes:

> Shouldn't the -i and -o options be listed before the -- option?
>
>        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>...]

Yes, please make it so ;-)

Thanks.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH] git-commit.txt: (synopsis): move -i and -o before "--"
  2010-11-29 20:24 ` Junio C Hamano
@ 2010-12-01 14:51   ` jari.aalto
  2010-12-01 16:39     ` Jonathan Nieder
  0 siblings, 1 reply; 5+ messages in thread
From: jari.aalto @ 2010-12-01 14:51 UTC (permalink / raw)
  To: git; +Cc: Jari Aalto

From: Jari Aalto <jari.aalto@cante.net>


Signed-off-by: Jari Aalto <jari.aalto@cante.net>
---
 Documentation/git-commit.txt |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/git-commit.txt b/Documentation/git-commit.txt
index 42fb1f5..46ddc80 100644
--- 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>...]
 
 DESCRIPTION
 -----------
-- 
1.7.2.3

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH] git-commit.txt: (synopsis): move -i and -o before "--"
  2010-12-01 14:51   ` [PATCH] git-commit.txt: (synopsis): move -i and -o before "--" jari.aalto
@ 2010-12-01 16:39     ` Jonathan Nieder
  2010-12-01 19:01       ` Junio C Hamano
  0 siblings, 1 reply; 5+ messages in thread
From: Jonathan Nieder @ 2010-12-01 16:39 UTC (permalink / raw)
  To: jari.aalto; +Cc: git, Joey Hess

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.

[...]
> --- 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"?

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] git-commit.txt: (synopsis): move -i and -o before "--"
  2010-12-01 16:39     ` Jonathan Nieder
@ 2010-12-01 19:01       ` Junio C Hamano
  0 siblings, 0 replies; 5+ messages in thread
From: Junio C Hamano @ 2010-12-01 19:01 UTC (permalink / raw)
  To: Jonathan Nieder; +Cc: jari.aalto, git, Joey Hess

Jonathan Nieder <jrnieder@gmail.com> writes:

> 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>"
> ...
> While at it, shouldn't we get rid of the extra space after "-o"?

Will do all of these at my end.

Thanks for an excellent coach to other contributors, as always.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-12-01 19:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-29 17:37 git commit synopsis typo? Joey Hess
2010-11-29 20:24 ` Junio C Hamano
2010-12-01 14:51   ` [PATCH] git-commit.txt: (synopsis): move -i and -o before "--" jari.aalto
2010-12-01 16:39     ` Jonathan Nieder
2010-12-01 19:01       ` Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).