aboutsummaryrefslogtreecommitdiff
path: root/ui-tag.c
diff options
context:
space:
mode:
Diffstat (limited to 'ui-tag.c')
-rw-r--r--ui-tag.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui-tag.c b/ui-tag.c
index 424bbcc..5354827 100644
--- a/ui-tag.c
+++ b/ui-tag.c
@@ -48,7 +48,7 @@ void cgit_print_tag(char *revname)
revname = ctx.qry.head;
strbuf_addf(&fullref, "refs/tags/%s", revname);
- if (get_oid(fullref.buf, &oid)) {
+ if (repo_get_oid(the_repository, fullref.buf, &oid)) {
cgit_print_error_page(404, "Not found",
"Bad tag reference: %s", revname);
goto cleanup;