aboutsummaryrefslogtreecommitdiffstats
path: root/ui-shared.c
diff options
context:
space:
mode:
Diffstat (limited to 'ui-shared.c')
-rw-r--r--ui-shared.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ui-shared.c b/ui-shared.c
index 45105dc..1418010 100644
--- a/ui-shared.c
+++ b/ui-shared.c
@@ -272,6 +272,9 @@ void cgit_object_link(struct object *obj)
} else if (obj->type == OBJ_TREE) {
page = "tree";
arg = "id";
+ } else if (obj->type == OBJ_TAG) {
+ page = "tag";
+ arg = "id";
} else {
page = "blob";
arg = "id";