Refactor cache_tree_update idiom from commit
commit996277c520641d650dc15ad751cc4ad33318e298
authorThomas Rast <trast@student.ethz.ch>
Tue, 6 Dec 2011 17:43:37 +0000 (6 18:43 +0100)
committerJunio C Hamano <gitster@pobox.com>
Tue, 6 Dec 2011 22:57:36 +0000 (6 14:57 -0800)
tree53ba60089bcd1c336438f7ac7d5f2d124029fece
parent4eb0346fb8f8a59a1fb7a6bd01154655a7020087
Refactor cache_tree_update idiom from commit

We'll need to safely create or update the cache-tree data of the_index
from other places.  While at it, give it an argument that lets us
silence the messages produced by unmerged entries (which prevent it
from working).

Signed-off-by: Thomas Rast <trast@student.ethz.ch>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/commit.c
cache-tree.c
cache-tree.h
merge-recursive.c
test-dump-cache-tree.c