diff options
Diffstat (limited to 'shared.c')
-rw-r--r-- | shared.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -161,7 +161,7 @@ static struct refinfo *cgit_mk_refinfo(const char *refname, const struct object_ | |||
161 | 161 | ||
162 | ref = xmalloc(sizeof (struct refinfo)); | 162 | ref = xmalloc(sizeof (struct refinfo)); |
163 | ref->refname = xstrdup(refname); | 163 | ref->refname = xstrdup(refname); |
164 | ref->object = parse_object(oid); | 164 | ref->object = parse_object(the_repository, oid); |
165 | switch (ref->object->type) { | 165 | switch (ref->object->type) { |
166 | case OBJ_TAG: | 166 | case OBJ_TAG: |
167 | ref->tag = cgit_parse_tag((struct tag *)ref->object); | 167 | ref->tag = cgit_parse_tag((struct tag *)ref->object); |