tag: add repository argument to deref_tag
[gitweb.git] / builtin / fmt-merge-msg.c
index 36318ef46e74314913386eaae5b24484f56690db..ff165c0fcd209f1bab596905a61bdfa6b491208a 100644 (file)
@@ -344,7 +344,8 @@ static void shortlog(const char *name,
        const struct object_id *oid = &origin_data->oid;
        int limit = opts->shortlog_len;
 
-       branch = deref_tag(parse_object(the_repository, oid), oid_to_hex(oid),
+       branch = deref_tag(the_repository, parse_object(the_repository, oid),
+                          oid_to_hex(oid),
                           GIT_SHA1_HEXSZ);
        if (!branch || branch->type != OBJ_COMMIT)
                return;