wt-status: refactor initial commit printing
commitc1e255b71964e45cee571819c011fbcaaf18be41
authorJeff King <peff@peff.net>
Wed, 12 Nov 2008 08:21:39 +0000 (12 03:21 -0500)
committerJunio C Hamano <gitster@pobox.com>
Wed, 12 Nov 2008 20:52:22 +0000 (12 12:52 -0800)
treef9570553fcc2e799e442b331e92ff5d8ebd6eab6
parent14d9c578961ab834bfb0e26481d0212bc0670883
wt-status: refactor initial commit printing

When we showed the initial commit, we had no reference to
diff against, so we went through the cache manually.
Nowadays, however, we have a virtual empty tree commit, so
we can simply diff against that to get the same results.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
wt-status.c