diff options
author | Junio C Hamano <gitster@pobox.com> | 2008-12-15 00:36:56 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-12-15 01:29:44 -0800 |
commit | d2dadfe890b5da6f65fe061a414b6ec67c5efe9c (patch) | |
tree | 494ca607f5ff4dd4135e84b4513567fcb79f4a0d /quote.c | |
parent | git-config.txt: fix a typo (diff) | |
download | tgif-d2dadfe890b5da6f65fe061a414b6ec67c5efe9c.tar.xz |
git-show: do not segfault when showing a bad tag
When a tag points at a bad or nonexistent object, we should diagnose the
breakage and exit. An earlier commit 4f3dcc2 (Fix 'git show' on signed
tag of signed tag of commit, 2008-07-01) lost this check and made it
segfault instead; not good.
This fixes it.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'quote.c')
0 files changed, 0 insertions, 0 deletions