author | Thomas Rast <trast@student.ethz.ch> | |
Tue, 1 Jul 2008 09:47:04 +0000 (11:47 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 2 Jul 2008 00:05:42 +0000 (17:05 -0700) | ||
commit | 4f3dcc2753ef6c244622334cef94a72682fcd850 | |
tree | 7cd5c738f81ef76eb867d0005fae74eba9144242 | tree | snapshot |
parent | a0d2ceb2769731571cdd195582bfedf90225e712 | commit | diff |
Fix 'git show' on signed tag of signed tag of commit
The cmd_show loop resolves tags by showing them, then pointing the
object to the 'tagged' member. However, this object is not fully
initialized; it only contains the SHA1. (This resulted in a segfault
if there were two levels of tags.) We apply parse_object to get a
full object.
Noticed by Kalle Olavi Niemitalo on IRC.
Signed-off-by: Thomas Rast <trast@student.ethz.ch>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
The cmd_show loop resolves tags by showing them, then pointing the
object to the 'tagged' member. However, this object is not fully
initialized; it only contains the SHA1. (This resulted in a segfault
if there were two levels of tags.) We apply parse_object to get a
full object.
Noticed by Kalle Olavi Niemitalo on IRC.
Signed-off-by: Thomas Rast <trast@student.ethz.ch>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-log.c | diff | blob | history |