summaryrefslogtreecommitdiff
path: root/mktree.c
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2007-12-21 11:56:32 +0100
committerJunio C Hamano <gitster@pobox.com>2007-12-22 11:15:38 -0800
commitcc216827936e40bc2e8886623fd44f55e0674932 (patch)
tree89b9c3ccbf54a1eba855b4446f3f2903e69794dc /mktree.c
parent97bc00a4909fb73eba8a05dc89fe7914d7123245 (diff)
downloadgit-cc216827936e40bc2e8886623fd44f55e0674932.tar.gz
Don't dereference NULL upon lookup failure.
Instead, signal the error just like the case we do upon encountering an object with an unknown type. Signed-off-by: Jim Meyering <meyering@redhat.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'mktree.c')
0 files changed, 0 insertions, 0 deletions