Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | git-show: do not segfault when showing a bad tag | Junio C Hamano | 2008-12-15 | 1 | -0/+20 |
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> |