git-commit.txt: clarify -t requires editing message
Make it clear that, when using commit --template, the message *must* be changed or the commit will be aborted. Helped-by: Junio C Hamano <gitster@pobox.com> Helped-by: Ivan Heffner <iheffner@gmail.com> Signed-off-by: Adam Monsen <haircut@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Adam Monsen committed
Mar 31, 2012 at 12:28 UTC
b0ad5e27803cd599e629b1a64b74ac4bffb3962d
1 file changed
+5
-5
Documentation/git-commit.txt
+5
-5
@@ -132,11 +132,11 @@ OPTIONS
132
133
-t <file>::
134
--template=<file>::
135
- Use the contents of the given file as the initial version
136
- of the commit message. The editor is invoked and you can
137
- make subsequent changes. If a message is specified using
138
- the `-m` or `-F` options, this option has no effect. This
139
- overrides the `commit.template` configuration variable.
135
+ Use the contents of the given file as the initial version of the
136
+ commit message. The editor is invoked so you can make subsequent
137
+ changes. If you make no changes, the commit is aborted. If a message
138
+ is specified using the `-m` or `-F` options, this option has no
139
+ effect. This overrides the `commit.template` configuration variable.
140
141
-s::
142
--signoff::