summaryrefslogtreecommitdiff
path: root/compat
diff options
context:
space:
mode:
authorShawn O. Pearce <spearce@spearce.org>2008-02-14 06:34:34 (GMT)
committerJunio C Hamano <gitster@pobox.com>2008-02-16 04:11:51 (GMT)
commite8b32e061006d1a62e464e7c2a5385ddd0cb4290 (patch)
tree53224018d84bf52ebe617d4d15647b1b0978299b /compat
parentdf93e33c8bc8c79751a45d8005c6a92b18d4ba6d (diff)
downloadgit-e8b32e061006d1a62e464e7c2a5385ddd0cb4290.zip
git-e8b32e061006d1a62e464e7c2a5385ddd0cb4290.tar.gz
git-e8b32e061006d1a62e464e7c2a5385ddd0cb4290.tar.bz2
fast-import: check return value from unpack_entry()
If the tree object we have asked for is deltafied in the packfile and the delta did not apply correctly or was not able to be decompressed from the packfile then we can get back NULL instead of the tree data. This is (part of) the reason why read_sha1_file() can return NULL, so we need to also handle it the same way. Signed-off-by: Shawn O. Pearce <spearce@spearce.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'compat')
0 files changed, 0 insertions, 0 deletions