unpack_callback(): use unpack_failed() consistently
commit353c5eeb5cad63218ca796352cce9986df7b9c62
authorJunio C Hamano <gitster@pobox.com>
Sat, 19 Sep 2009 23:36:45 +0000 (19 16:36 -0700)
committerJunio C Hamano <gitster@pobox.com>
Sun, 11 Oct 2009 23:40:43 +0000 (11 16:40 -0700)
tree3b86f9bd2f5484a6b67da74a8a8f6714cc7805dc
parent6caa7b555336dcb6e52bc7dfce1dd953bf53c3d5
unpack_callback(): use unpack_failed() consistently

When unpack_index_entry() failed, consistently call unpack_failed(),
instead of silently returning -1.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
unpack-trees.c