diff options
author | Jim Meyering <meyering@redhat.com> | 2007-12-21 11:56:32 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-12-22 11:15:38 -0800 |
commit | cc216827936e40bc2e8886623fd44f55e0674932 (patch) | |
tree | 89b9c3ccbf54a1eba855b4446f3f2903e69794dc /builtin-symbolic-ref.c | |
parent | Emit helpful status for accidental "git stash" save (diff) | |
download | tgif-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