From: Adam Monsen Date: Sat, 31 Mar 2012 19:28:15 +0000 (-0700) Subject: git-commit.txt: clarify -t requires editing message X-Git-Tag: v1.7.10.1~14^2~1 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b0ad5e27803cd599e629b1a64b74ac4bffb3962d;p=git.git 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 Helped-by: Ivan Heffner Signed-off-by: Adam Monsen Signed-off-by: Junio C Hamano --- diff --git a/Documentation/git-commit.txt b/Documentation/git-commit.txt index 5cc84a139..f584a6214 100644 --- a/Documentation/git-commit.txt +++ b/Documentation/git-commit.txt @@ -132,11 +132,11 @@ OPTIONS -t :: --template=:: - Use the contents of the given file as the initial version - of the commit message. The editor is invoked and you can - make subsequent changes. If a message is specified using - the `-m` or `-F` options, this option has no effect. This - overrides the `commit.template` configuration variable. + Use the contents of the given file as the initial version of the + commit message. The editor is invoked so you can make subsequent + changes. If you make no changes, the commit is aborted. If a message + is specified using the `-m` or `-F` options, this option has no + effect. This overrides the `commit.template` configuration variable. -s:: --signoff::