aboutsummaryrefslogtreecommitdiffstats
path: root/shared.c
diff options
context:
space:
mode:
Diffstat (limited to 'shared.c')
-rw-r--r--shared.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared.c b/shared.c
index 609bd2a..7560f5f 100644
--- a/shared.c
+++ b/shared.c
@@ -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);