diff options
Diffstat (limited to 'ui-clone.c')
| -rw-r--r-- | ui-clone.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -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 | } |
