about summary refs log tree commit diff
path: root/ui-tag.c
diff options
context:
space:
mode:
authorLars Hjemli <hjemli@gmail.com>2008-09-15 22:41:25 +0200
committerLars Hjemli <hjemli@gmail.com>2008-09-15 22:41:25 +0200
commita30453a5d3f6db4d6e055da2112343e054e7e7d5 (patch)
treee8713318ee4c1d605eb02ae469cf22f0d1cc4df1 /ui-tag.c
parentMerge branch 'ew/http_host' (diff)
parentui-tag: show the taggers email (diff)
downloadcgit-pink-a30453a5d3f6db4d6e055da2112343e054e7e7d5.tar.gz
cgit-pink-a30453a5d3f6db4d6e055da2112343e054e7e7d5.zip
Merge branch 'lh/parsing'
* lh/parsing:
  ui-tag: show the taggers email
  parsing.c: be prepared for unexpected content in commit/tag objects
Diffstat (limited to '')
-rw-r--r--ui-tag.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ui-tag.c b/ui-tag.c
index b4db32e..3aea87d 100644
--- a/ui-tag.c
+++ b/ui-tag.c
@@ -63,6 +63,10 @@ void cgit_print_tag(char *revname)
 		if (info->tagger) {
 			html("<tr><td>Tagged by</td><td>");
 			html_txt(info->tagger);
+			if (info->tagger_email) {
+				html(" ");
+				html_txt(info->tagger_email);
+			}
 			html("</td></tr>\n");
 		}
 		html("<tr><td>Tagged object</td><td>");