add function check_ok_to_remove()
commit6838d1ad6b52c95c02de4c476aae2192050ac2c9
authorClemens Buchacher <drizzd@aon.at>
Sat, 9 Oct 2010 13:52:58 +0000 (9 15:52 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 14 Dec 2010 16:55:10 +0000 (14 08:55 -0800)
tree316968a888dda5c3f79f9d77f88d2c09ecd1f43d
parent175659b4ccdf14aa8d9c0144c5ed1a143bdc9c01
add function check_ok_to_remove()

This wraps some inline code into the function check_ok_to_remove(),
which will later be used for leading path components as well.

Signed-off-by: Clemens Buchacher <drizzd@aon.at>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
unpack-trees.c