Commit cc369347 authored by Martin Koegler's avatar Martin Koegler Committed by Junio C Hamano

process_tag: handle tag->tagged == NULL

Signed-off-by: default avatarMartin Koegler <mkoegler@auto.tuwien.ac.at>
Signed-off-by: default avatarJunio C Hamano <gitster@pobox.com>
parent 172947e6
......@@ -79,7 +79,8 @@ static void process_tag(struct tag *tag, struct object_array *p, const char *nam
if (parse_tag(tag) < 0)
die("bad tag object %s", sha1_to_hex(obj->sha1));
add_object(tag->tagged, p, NULL, name);
if (tag->tagged)
add_object(tag->tagged, p, NULL, name);
}
static void walk_commit_list(struct rev_info *revs)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment