Skip to content

Commit 9bb56e4

Browse files
committed
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
2 parents 795b014 + 4055500 commit 9bb56e4

File tree

3 files changed

+60
-67
lines changed

3 files changed

+60
-67
lines changed

Documentation/git-commit.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,10 @@ configuration variable documented in linkgit:git-config[1].
284284
would be committed at the bottom of the commit message
285285
template. Note that this diff output doesn't have its
286286
lines prefixed with '#'.
287+
+
288+
If specified twice, show in addition the unified diff between
289+
what would be committed and the worktree files, i.e. the unstaged
290+
changes to tracked files.
287291

288292
-q::
289293
--quiet::

0 commit comments

Comments
 (0)