]> git.ipfire.org Git - thirdparty/git.git/blobdiff - log-tree.c
object-file API: have hash_object_file() take "enum object_type"
[thirdparty/git.git] / log-tree.c
index d3e7a40b648c7dc6eb30880ac3e04908342a8b09..27a5b0bd61a3aaf558da3aaf9412619d2e6f94fe 100644 (file)
@@ -561,7 +561,7 @@ static int show_one_mergetag(struct commit *commit,
        struct strbuf signature = STRBUF_INIT;
 
        hash_object_file(the_hash_algo, extra->value, extra->len,
-                        type_name(OBJ_TAG), &oid);
+                        OBJ_TAG, &oid);
        tag = lookup_tag(the_repository, &oid);
        if (!tag)
                return -1; /* error message already given */