Skip to contentSkip to conversation

Documentation/git-commit: Typo under --edit

PATCH In review Anders Granskogen Bjørnstad 2 participants 2 messages Jun 15, 2016 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Documentation/git-commit: Typo under --edit

-C takes a commit object, not a file.

---
 Documentation/git-commit.txt |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Documentation/git-commit.txt +2 -2
index 9b1be55..8172938 100644
@@ -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::
Signature · 1 line
1.7.9.5
#1 lore raw
Quoted 12 lines · Anders Granskogen Bjørnstad

-C takes a commit object, not a file.

---
 Documentation/git-commit.txt |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Documentation/git-commit.txt +0 -0
index 9b1be55..8172938 100644

Documentation/git-commit.txt variable (see linkgit:git-config[1]). · line 204

Quoted 10 lines
Documentation/git-commit.txt +2 -2
@@ -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'.