diff options
author | Junio C Hamano <gitster@pobox.com> | 2013-01-20 17:07:04 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-01-20 17:07:04 -0800 |
commit | 28f04f34636f46f7848be9ce9b36cec6d3554f32 (patch) | |
tree | c4cb95bf6aaca52f84c675a90dae539941bd162c /Documentation/config.txt | |
parent | 577f63e781d2f9b9a6862389b6e9d2ca2467afa2 (diff) | |
parent | 51fb3a3dfa4ffeeb210fb0e7d6f631503a5a1dfb (diff) | |
download | git-28f04f34636f46f7848be9ce9b36cec6d3554f32.tar.gz |
Merge branch 'rt/commit-cleanup-config'
Add a configuration variable to set default clean-up mode other
than "strip".
* rt/commit-cleanup-config:
commit: make default of "cleanup" option configurable
Diffstat (limited to 'Documentation/config.txt')
-rw-r--r-- | Documentation/config.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Documentation/config.txt b/Documentation/config.txt index 5ecb0fccb1..b87f744643 100644 --- a/Documentation/config.txt +++ b/Documentation/config.txt @@ -923,6 +923,15 @@ column.tag:: Specify whether to output tag listing in `git tag` in columns. See `column.ui` for details. +commit.cleanup:: + This setting overrides the default of the `--cleanup` option in + `git commit`. See linkgit:git-commit[1] for details. Changing the + default can be useful when you always want to keep lines that begin + with comment character `#` in your log message, in which case you + would do `git config commit.cleanup whitespace` (note that you will + have to remove the help lines that begin with `#` in the commit log + template yourself, if you do this). + commit.status:: A boolean to enable/disable inclusion of status information in the commit message template when using an editor to prepare the commit |