]> git.ipfire.org Git - thirdparty/git.git/blobdiff - builtin/log.c
sha1_file: convert read_sha1_file to struct object_id
[thirdparty/git.git] / builtin / log.c
index 411339c1ed22a3fe00309c08b9a007da862051cb..71f68a3e4f59d987c653fb8f32a4d8770e9c6654 100644 (file)
@@ -518,7 +518,7 @@ static int show_tag_object(const struct object_id *oid, struct rev_info *rev)
 {
        unsigned long size;
        enum object_type type;
-       char *buf = read_sha1_file(oid->hash, &type, &size);
+       char *buf = read_object_file(oid, &type, &size);
        int offset = 0;
 
        if (!buf)