X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=builtin%2Fmktag.c;h=640ab64f418208842ae3901ce37ac8918740037e;hb=034a8a0df392fa809a506d0da65b9245db939d8f;hp=324a267163d758b5dea51405265ae89042a657ad;hpb=f28d2e33c64819d0425c426cd2c4511634096a40;p=git.git diff --git a/builtin/mktag.c b/builtin/mktag.c index 324a26716..640ab64f4 100644 --- a/builtin/mktag.c +++ b/builtin/mktag.c @@ -23,8 +23,8 @@ static int verify_object(const unsigned char *sha1, const char *expected_type) int ret = -1; enum object_type type; unsigned long size; - const unsigned char *repl; - void *buffer = read_sha1_file_repl(sha1, &type, &size, &repl); + void *buffer = read_sha1_file(sha1, &type, &size); + const unsigned char *repl = lookup_replace_object(sha1); if (buffer) { if (type == type_from_string(expected_type))