aboutsummaryrefslogtreecommitdiffstats
path: root/ui-clone.c
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2020-01-17 15:26:09 +0100
committerFlorian Pritz <bluewind@xinu.at>2020-01-17 15:26:09 +0100
commit6c66430e9658616e118d10af9c9ab48858a04e67 (patch)
tree2e83a411ed158f151df085c7f3836827753aecf7 /ui-clone.c
parent42f8840323a219d3eca59a7a2a388c3a28eeb8fb (diff)
parentfa146ccabdd0de746a7076f0630af550e43d9088 (diff)
downloadcgit-6c66430e9658616e118d10af9c9ab48858a04e67.tar.gz
cgit-6c66430e9658616e118d10af9c9ab48858a04e67.tar.xz
Merge tag 'v1.2.2' into local
CGIT v1.2.2
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,
{
struct object *obj;
- if (!(obj = parse_object(oid)))
+ if (!(obj = parse_object(the_repository, oid)))
return 0;
htmlf("%s\t%s\n", oid_to_hex(oid), refname);
if (obj->type == OBJ_TAG) {
- if (!(obj = deref_tag(obj, refname, 0)))
+ if (!(obj = deref_tag(the_repository, obj, refname, 0)))
return 0;
htmlf("%s\t%s^{}\n", oid_to_hex(&obj->oid), refname);
}