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

2 messages from 2013-05-02 to 2013-05-02. Participants: Anders Granskogen Bjørnstad, Junio C Hamano.
Thread: https://gitlist.dev/t/33704

## Anders Granskogen Bjørnstad, 2013-05-02 18:24

Subject: [PATCH] Documentation/git-commit: Typo under --edit
Message-ID: <1367519056-8889-1-git-send-email-andersgb@gmail.com>
URL: https://gitlist.dev/e/1367519056-8889-1-git-send-email-andersgb%40gmail.com

```
-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::
-- 
1.7.9.5

```

## Junio C Hamano, 2013-05-02 19:46

Subject: Re: [PATCH] Documentation/git-commit: Typo under --edit
Message-ID: <7va9od17yc.fsf@alter.siamese.dyndns.org>
URL: https://gitlist.dev/e/7va9od17yc.fsf%40alter.siamese.dyndns.org
In-Reply-To: <1367519056-8889-1-git-send-email-andersgb@gmail.com>

```
Anders Granskogen Bjørnstad  <andersgb@gmail.com> writes:

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

```
