summaryrefslogtreecommitdiff
path: root/Documentation/config.txt
diff options
context:
space:
mode:
authorLibravatar James P. Howard, II <jh@jameshoward.us>2009-12-07 17:45:27 -0500
committerLibravatar Junio C Hamano <gitster@pobox.com>2010-01-13 00:01:53 -0800
commitbed575e4002cfa1dfa7d87b9db38e69c6f600e2e (patch)
treecae28f4c7eda5394f087b4974487ca25da69248e /Documentation/config.txt
parentGit 1.6.6-rc1 (diff)
downloadtgif-bed575e4002cfa1dfa7d87b9db38e69c6f600e2e.tar.xz
commit: support commit.status, --status, and --no-status
A new configuration variable commit.status, and new command line options --status, and --no-status control whether or not the git status information is included in the commit message template when using an editor to prepare the commit message. It does not affect the effects of a user's commit.template settings. Signed-off-by: James P. Howard, II <jh@jameshoward.us> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/config.txt')
-rw-r--r--Documentation/config.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/config.txt b/Documentation/config.txt
index a1e36d7e42..5561560a0f 100644
--- a/Documentation/config.txt
+++ b/Documentation/config.txt
@@ -705,6 +705,11 @@ color.ui::
terminal. When more specific variables of color.* are set, they always
take precedence over this setting. Defaults to false.
+commit.status
+ A boolean to enable/disable inclusion of status information in the
+ commit message template when using an editor to prepare the commit
+ message. Defaults to true.
+
commit.template::
Specify a file to use as the template for new commit messages.
"{tilde}/" is expanded to the value of `$HOME` and "{tilde}user/" to the