about summary refs log tree commit diff stats
path: root/ui-clone.c
diff options
context:
space:
mode:
Diffstat (limited to 'ui-clone.c')
-rw-r--r--ui-clone.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui-clone.c b/ui-clone.c index 6ba8f36..5dccb63 100644 --- a/ui-clone.c +++ b/ui-clone.c
@@ -19,12 +19,12 @@ static int print_ref_info(const char *refname, const struct object_id *oid,
19{ 19{
20 struct object *obj; 20 struct object *obj;
21 21
22 if (!(obj = parse_object(oid))) 22 if (!(obj = parse_object(the_repository, oid)))
23 return 0; 23 return 0;
24 24
25 htmlf("%s\t%s\n", oid_to_hex(oid), refname); 25 htmlf("%s\t%s\n", oid_to_hex(oid), refname);
26 if (obj->type == OBJ_TAG) { 26 if (obj->type == OBJ_TAG) {
27 if (!(obj = deref_tag(obj, refname, 0))) 27 if (!(obj = deref_tag(the_repository, obj, refname, 0)))
28 return 0; 28 return 0;
29 htmlf("%s\t%s^{}\n", oid_to_hex(&obj->oid), refname); 29 htmlf("%s\t%s^{}\n", oid_to_hex(&obj->oid), refname);
30 } 30 }