diff options
author | James P. Howard, II <jh@jameshoward.us> | 2009-12-07 17:45:27 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-01-13 00:01:53 -0800 |
commit | bed575e4002cfa1dfa7d87b9db38e69c6f600e2e (patch) | |
tree | cae28f4c7eda5394f087b4974487ca25da69248e /Documentation/config.txt | |
parent | b809d9cd0787e68f442c6795ec76580bb37d1a00 (diff) | |
download | git-bed575e4002cfa1dfa7d87b9db38e69c6f600e2e.tar.gz git-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.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/config.txt b/Documentation/config.txt index a1e36d7e4..5561560a0 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 |