aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/git-commit.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2015-03-17 16:01:33 -0700
committerJunio C Hamano <gitster@pobox.com>2015-03-17 16:01:33 -0700
commit9bb56e47532db6fb7e97020ffa247ad5c54b1726 (patch)
tree0d7b9f6cef5eae24695d73d75afe3225b4f1dc6e /Documentation/git-commit.txt
parentMerge branch 'mg/sequencer-commit-messages-always-verbatim' (diff)
parentcommit/status: show the index-worktree diff with -v -v (diff)
downloadgit-9bb56e47532db6fb7e97020ffa247ad5c54b1726.tar.gz
git-9bb56e47532db6fb7e97020ffa247ad5c54b1726.zip
Merge branch 'mg/status-v-v'
"git status" now allows the "-v" to be given twice to show the differences that are left in the working tree not to be committed. * mg/status-v-v: commit/status: show the index-worktree diff with -v -v t7508: test git status -v t7508: .gitignore 'expect' and 'output' files
Diffstat (limited to 'Documentation/git-commit.txt')
-rw-r--r--Documentation/git-commit.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/git-commit.txt b/Documentation/git-commit.txt
index 1e74b75d38..f14d2ececd 100644
--- a/Documentation/git-commit.txt
+++ b/Documentation/git-commit.txt
@@ -284,6 +284,10 @@ configuration variable documented in linkgit:git-config[1].
would be committed at the bottom of the commit message
template. Note that this diff output doesn't have its
lines prefixed with '#'.
++
+If specified twice, show in addition the unified diff between
+what would be committed and the worktree files, i.e. the unstaged
+changes to tracked files.
-q::
--quiet::