cache-tree: Write updated cache-tree after commit
commit9c4d6c0297b7d6167bf330853139b0515b351b89
authorDavid Turner <dturner@twopensource.com>
Sun, 13 Jul 2014 20:28:19 +0000 (13 13:28 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 14 Jul 2014 19:34:51 +0000 (14 12:34 -0700)
tree6acd9d9d6a0b15a519525e511bfb6997ecd5dea7
parent59a8adb6fb4ed27868e7144f4531b1bfd065a9c6
cache-tree: Write updated cache-tree after commit

During the commit process, update the cache-tree. Write this updated
cache-tree so that it's ready for subsequent commands.

Add test code which demonstrates that git commit now writes the cache
tree.  Make all tests test the entire cache-tree, not just the root
level.

Signed-off-by: David Turner <dturner@twitter.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/commit.c
t/t0090-cache-tree.sh