{"thread":{"id":"9246","subject":"[PATCH] Document commit.template configuration variable.","startedAt":"2007-07-26T20:34:59Z","lastAt":"2007-07-26T20:34:59Z","messageCount":1,"participants":["Brian Gernhardt"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"48739","messageId":"20070726203459.GA10283@Hermes.local","threadId":"9246","inReplyTo":null,"subject":"[PATCH] Document commit.template configuration variable.","fromName":"Brian Gernhardt","fromEmail":"benji@silverinsanity.com","sentAt":"2007-07-26T20:34:59Z","receivedAt":"2007-07-26T20:34:59Z","isPatch":true,"sender":{"key":"benji@silverinsanity.com","avatar":"https://gravatar.com/avatar/e06c101dbc25c68114d859b4a9ec7cf8a2c52fd2b0270ef0eac0e2e63ff22311?d=mp&s=160"},"body":"Add it to the list in config.txt and explicitly say that the\n--template option to git-commit overrides the configuration variable.\n---\n\n d1cc130a5eb50d5bfe1e8b76cab3d8970fd70ad1 added a config var, but\n didn't add it to the full list.\n\n Documentation/config.txt     |    3 +++\n Documentation/git-commit.txt |    5 ++---\n 2 files changed, 5 insertions(+), 3 deletions(-)\n\ndiff --git a/Documentation/config.txt b/Documentation/config.txt\nindex dd98d95..3135cb7 100644\n--- a/Documentation/config.txt\n+++ b/Documentation/config.txt\n@@ -393,6 +393,9 @@ color.status.<slot>::\n \tor `untracked` (files which are not tracked by git). The values of\n \tthese variables may be specified as in color.branch.<slot>.\n \n+commit.template::\n+\tSpecify a file to use as the template for new commit messages.\n+\n diff.renameLimit::\n \tThe number of files to consider when performing the copy/rename\n \tdetection; equivalent to the git diff option '-l'.\ndiff --git a/Documentation/git-commit.txt b/Documentation/git-commit.txt\nindex 3f36c67..627994e 100644\n--- a/Documentation/git-commit.txt\n+++ b/Documentation/git-commit.txt\n@@ -78,9 +78,8 @@ OPTIONS\n \tUse the contents of the given file as the initial version\n \tof the commit message. The editor is invoked and you can\n \tmake subsequent changes. If a message is specified using\n-\tthe `-m` or `-F` options, this option has no effect. The\n-\ttemplate file may also be specified using the `commit.template`\n-\tconfiguration variable.\n+\tthe `-m` or `-F` options, this option has no effect. This\n+\toverrides the `commit.template` configuration variable.\n \n -s|--signoff::\n \tAdd Signed-off-by line at the end of the commit message.\n-- \n1.5.3.rc2.38.g11308\n"}]}