status: show "-v" diff even for initial commit
authorJeff King <redacted>
Wed, 12 Nov 2008 08:23:37 +0000 (03:23 -0500)
committerJunio C Hamano <redacted>
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 <redacted>
Signed-off-by: Junio C Hamano <redacted>
t/t7507-commit-verbose.sh
wt-status.c
git clone https://git.99rst.org/PROJECT