summaryrefslogtreecommitdiff
path: root/builtin-symbolic-ref.c
diff options
context:
space:
mode:
authorLibravatar Jim Meyering <meyering@redhat.com>2007-12-21 11:56:32 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2007-12-22 11:15:38 -0800
commitcc216827936e40bc2e8886623fd44f55e0674932 (patch)
tree89b9c3ccbf54a1eba855b4446f3f2903e69794dc /builtin-symbolic-ref.c
parentEmit helpful status for accidental "git stash" save (diff)
downloadtgif-cc216827936e40bc2e8886623fd44f55e0674932.tar.xz
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 'builtin-symbolic-ref.c')
0 files changed, 0 insertions, 0 deletions