Signed-off-by: Martin Koegler <mkoegler@xxxxxxxxxxxxxxxxx> --- reachable.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/reachable.c b/reachable.c index 937af57..339be7f 100644 --- a/reachable.c +++ b/reachable.c @@ -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) -- 1.5.4.1.g96b77 - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html