threads / patch / 33704

patchDocumentation/git-commit: Typo under --edit

Subject: [PATCH] Documentation/git-commit: Typo under --edit

## tl;dr

2 messages between May 2, 2013 and May 2, 2013. Diffs are folded; open one to read it.

replies: 1people: 2as markdown or json

Anders Granskogen Bjørnstad· May 2, 2013, 18:24 UTC · lore
-C takes a commit object, not a file.
Signed-off-by: Anders Granskogen Bjørnstad <andersgb@gmail.com>
---
 Documentation/git-commit.txt |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Show changes to Documentation/git-commit.txt +2 −2
diff --git a/Documentation/git-commit.txt b/Documentation/git-commit.txt
index 9b1be55..8172938 100644
--- a/Documentation/git-commit.txt
+++ b/Documentation/git-commit.txt
@@ -197,8 +197,8 @@ variable (see linkgit:git-config[1]).
 -e::
 --edit::
 	The message taken from file with `-F`, command line with
-	`-m`, and from file with `-C` are usually used as the
-	commit log message unmodified.  This option lets you
+	`-m`, and from commit object with `-C` are usually used as
+	the commit log message unmodified. This option lets you
 	further edit the message taken from these sources.
 
 --no-edit::
-- 
1.7.9.5
Junio C Hamano· May 2, 2013, 19:46 UTC · re: Anders Granskogen Bjørnstad · lore

Re: [PATCH] Documentation/git-commit: Typo under --edit

Anders Granskogen Bjørnstad  <andersgb@gmail.com> writes:
Show 22 quoted lines
> -C takes a commit object, not a file.
>
> Signed-off-by: Anders Granskogen Bjørnstad <andersgb@gmail.com>
> ---
>  Documentation/git-commit.txt |    4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/Documentation/git-commit.txt b/Documentation/git-commit.txt
> index 9b1be55..8172938 100644
> --- a/Documentation/git-commit.txt
> +++ b/Documentation/git-commit.txt
> @@ -197,8 +197,8 @@ variable (see linkgit:git-config[1]).
>  -e::
>  --edit::
>  	The message taken from file with `-F`, command line with
> -	`-m`, and from file with `-C` are usually used as the
> -	commit log message unmodified.  This option lets you
> +	`-m`, and from commit object with `-C` are usually used as
> +	the commit log message unmodified. This option lets you
>  	further edit the message taken from these sources.
>  
>  --no-edit::
Obviously correct; thanks.  Will apply to 'maint'.

← back to recent threads