aboutsummaryrefslogtreecommitdiff
diff refs
from: back
to: back
| flip
diff options
context:
space:
mode:
-rw-r--r--cgit.css8
-rw-r--r--ui-log.c6
2 files changed, 1 insertions, 13 deletions
diff --git a/cgit.css b/cgit.css
index 05c4530..217a05a 100644
--- a/cgit.css
+++ b/cgit.css
@@ -685,14 +685,6 @@ div#cgit a.tag-deco {
border: solid 1px #777700;
}
-div#cgit a.tag-annotated-deco {
- color: #000;
- margin: 0px 0.5em;
- padding: 0px 0.25em;
- background-color: #ffcc88;
- border: solid 1px #777700;
-}
-
div#cgit a.remote-deco {
color: #000;
margin: 0px 0.5em;
diff --git a/ui-log.c b/ui-log.c
index b5cd2f6..8e36fba 100644
--- a/ui-log.c
+++ b/ui-log.c
@@ -65,8 +65,6 @@ void show_commit_decorations(struct commit *commit)
return;
html("<span class='decoration'>");
while (deco) {
- struct object_id peeled;
- int is_annotated = 0;
strncpy(buf, prettify_refname(deco->name), sizeof(buf) - 1);
switch(deco->type) {
case DECORATION_NONE:
@@ -79,9 +77,7 @@ void show_commit_decorations(struct commit *commit)
ctx.qry.showmsg, 0);
break;
case DECORATION_REF_TAG:
- if (!peel_ref(deco->name, &peeled))
- is_annotated = !oidcmp(&commit->object.oid, &peeled);
- cgit_tag_link(buf, NULL, is_annotated ? "tag-annotated-deco" : "tag-deco", buf);
+ cgit_tag_link(buf, NULL, "tag-deco", buf);
break;
case DECORATION_REF_REMOTE:
if (!ctx.repo->enable_remote_branches)