]> git.ipfire.org Git - thirdparty/git.git/blobdiff - tag.c
sha1_file: convert sha1_object_info* to object_id
[thirdparty/git.git] / tag.c
diff --git a/tag.c b/tag.c
index a6e0abce67c6b10b37fb9540061e8746dff051ce..db3e31034ca49a35a0919db08429510f636f2586 100644 (file)
--- a/tag.c
+++ b/tag.c
@@ -41,7 +41,7 @@ int gpg_verify_tag(const struct object_id *oid, const char *name_to_report,
        unsigned long size;
        int ret;
 
-       type = sha1_object_info(oid->hash, NULL);
+       type = oid_object_info(oid, NULL);
        if (type != OBJ_TAG)
                return error("%s: cannot verify a non-tag object of type %s.",
                                name_to_report ?