aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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";