Document commit.template configuration variable.
Add it to the list in config.txt and explicitly say that the --template option to git-commit overrides the configuration variable. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Brian Gernhardt committed
Jul 26, 2007 at 16:34 UTC
383e45cec40a0b881e59e44e011c410218ef476a
2 files changed
+5
-3
Documentation/config.txt
+3
@@ -393,6 +393,9 @@ color.status.<slot>::
393
or `untracked` (files which are not tracked by git). The values of
394
these variables may be specified as in color.branch.<slot>.
395
396
+commit.template::
397
+ Specify a file to use as the template for new commit messages.
398
+
399
diff.renameLimit::
400
The number of files to consider when performing the copy/rename
401
detection; equivalent to the git diff option '-l'.
Documentation/git-commit.txt
+2
-3
@@ -78,9 +78,8 @@ OPTIONS
78
Use the contents of the given file as the initial version
79
of the commit message. The editor is invoked and you can
80
make subsequent changes. If a message is specified using
81
- the `-m` or `-F` options, this option has no effect. The
82
- template file may also be specified using the `commit.template`
83
- configuration variable.
81
+ the `-m` or `-F` options, this option has no effect. This
82
+ overrides the `commit.template` configuration variable.
83
84
-s|--signoff::
85
Add Signed-off-by line at the end of the commit message.