add function check_ok_to_remove()
authorClemens Buchacher <drizzd@aon.at>
Sat, 9 Oct 2010 13:52:58 +0000 (15:52 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 13 Oct 2010 21:34:08 +0000 (14:34 -0700)
commita9307f5a6880a4818b042a30760b2cbb75efc53b
tree71d0fb72c90b8ec2fd0bfd54136c4c354c58fdef
parent189645ca844da2fd4f7e3318bbd9f7098e886dc4
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>
unpack-trees.c