summaryrefslogtreecommitdiff
path: root/Documentation/git-commit.txt
diff options
context:
space:
mode:
authorPranit Bauva <pranit.bauva@gmail.com>2016-05-05 09:50:02 (GMT)
committerJunio C Hamano <gitster@pobox.com>2016-05-10 17:25:52 (GMT)
commitaaab84203b9654fb73df41d3cb71a6aad3a091fa (patch)
tree1c3a054dd95694de923756d99fee1c068d15d498 /Documentation/git-commit.txt
parentde45dbb8188ecbc74c1e8a95bf861c6acdda393d (diff)
downloadgit-aaab84203b9654fb73df41d3cb71a6aad3a091fa.zip
git-aaab84203b9654fb73df41d3cb71a6aad3a091fa.tar.gz
git-aaab84203b9654fb73df41d3cb71a6aad3a091fa.tar.bz2
commit: add a commit.verbose config variable
Add commit.verbose configuration variable as a convenience for those who always prefer --verbose. Add tests to check the behavior introduced by this commit and also to verify that behavior of status doesn't break because of this commit. Helped-by: Junio C Hamano <gitster@pobox.com> Helped-by: Eric Sunshine <sunshine@sunshineco.com> Signed-off-by: Pranit Bauva <pranit.bauva@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-commit.txt')
-rw-r--r--Documentation/git-commit.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/Documentation/git-commit.txt b/Documentation/git-commit.txt
index 9ec6b3c..d474226 100644
--- a/Documentation/git-commit.txt
+++ b/Documentation/git-commit.txt
@@ -290,7 +290,8 @@ configuration variable documented in linkgit:git-config[1].
what changes the commit has.
Note that this diff output doesn't have its
lines prefixed with '#'. This diff will not be a part
- of the commit message.
+ of the commit message. See the `commit.verbose` configuration
+ variable in linkgit:git-config[1].
+
If specified twice, show in addition the unified diff between
what would be committed and the worktree files, i.e. the unstaged