[PATCH] git-commit doc: say -t requires editing commit message
- From
Adam Monsen <haircut@gmail.com>
- Date
- Mar 29, 2012, 17:57 UTC
- Message-ID
- <1333043876-19966-1-git-send-email-haircut@gmail.com>
Make it clear that, when using a commit template, the message *must* be changed or the commit will be aborted "due to empty commit message".
Signed-off-by: Adam Monsen <haircut@gmail.com> ---
I found it confusing that the commit template itself, even if non-empty, must be edited. Hopefully this clears that up a bit.
Documentation/git-commit.txt | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Documentation/git-commit.txt b/Documentation/git-commit.txt index 5cc84a1..44947ab 100644 --- a/Documentation/git-commit.txt +++ b/Documentation/git-commit.txt @@ -133,7 +133,7 @@ OPTIONS -t <file>:: --template=<file>:: Use the contents of the given file as the initial version - of the commit message. The editor is invoked and you can + of the commit message. The editor is invoked and you must 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.
-- 1.7.5.4