Merge branch 'jt/send-email-validate-hook'
[gitweb.git] / builtin / replace.c
index 3c44ef750e73f663e78dd81d18f85f67d31b891a..c921bc976f2299adc39277a21a74abbcc0c100f7 100644 (file)
@@ -355,7 +355,7 @@ static void check_one_mergetag(struct commit *commit,
        int i;
 
        hash_sha1_file(extra->value, extra->len, typename(OBJ_TAG), tag_oid.hash);
-       tag = lookup_tag(tag_oid.hash);
+       tag = lookup_tag(&tag_oid);
        if (!tag)
                die(_("bad mergetag in commit '%s'"), ref);
        if (parse_tag_buffer(tag, extra->value, extra->len))