object: convert parse_object* to take struct object_id
[gitweb.git] / http-backend.c
index eef0a361f4f9bcc7f8fb278268334cb40a32fcb3..7663813323fcf027a99e4c800899413c0078987d 100644 (file)
@@ -431,7 +431,7 @@ static int show_text_ref(const char *name, const struct object_id *oid,
 {
        const char *name_nons = strip_namespace(name);
        struct strbuf *buf = cb_data;
-       struct object *o = parse_object(oid->hash);
+       struct object *o = parse_object(oid);
        if (!o)
                return 0;