Merge branch 'jt/submodule-pull-recurse-rebase'
[gitweb.git] / builtin / mktag.c
index e3d20a77226ae560e6fd66e0051fef132c449e5a..82a6e860775f872a9145e32ee9d8f315b70ad2ea 100644 (file)
@@ -25,7 +25,7 @@ static int verify_object(const struct object_id *oid, const char *expected_type)
        enum object_type type;
        unsigned long size;
        void *buffer = read_object_file(oid, &type, &size);
-       const struct object_id *repl = lookup_replace_object(oid);
+       const struct object_id *repl = lookup_replace_object(the_repository, oid);
 
        if (buffer) {
                if (type == type_from_string(expected_type))