Code

status: show "-v" diff even for initial commit
authorJeff King <peff@peff.net>
Wed, 12 Nov 2008 08:23:37 +0000 (03:23 -0500)
committerJunio C Hamano <gitster@pobox.com>
Wed, 12 Nov 2008 21:55:17 +0000 (13:55 -0800)
commit1324fb6f161ee516eb4c597880847003a42c0c5d
tree1fcaa3fc04ae1b898eefeb78075e6b1aefdcc6c0
parent4deca329f5da1552c8d087975dd5107519cabef7
status: show "-v" diff even for initial commit

Since we can use the same "diff against empty tree" trick as
we do for the non-initial case, it is trivial to make this
work.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t7507-commit-verbose.sh
wt-status.c