]> git.ipfire.org Git - thirdparty/git.git/blobdiff - builtin/mktag.c
fsck: report invalid object type-path combinations
[thirdparty/git.git] / builtin / mktag.c
index dddcccdd368328261db51d47b3b5a7b444fbaca5..3b2dbbb37e6fe1afc11af79aae774ca526496413 100644 (file)
@@ -62,7 +62,8 @@ static int verify_object_in_tag(struct object_id *tagged_oid, int *tagged_type)
 
        repl = lookup_replace_object(the_repository, tagged_oid);
        ret = check_object_signature(the_repository, repl,
-                                    buffer, size, type_name(*tagged_type));
+                                    buffer, size, type_name(*tagged_type),
+                                    NULL);
        free(buffer);
 
        return ret;