about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLars Hjemli <hjemli@gmail.com>2008-09-15 22:40:02 +0200
committerLars Hjemli <hjemli@gmail.com>2008-09-15 22:40:02 +0200
commita608ff7ba371c2dddf9274de3a438bf74e2560f7 (patch)
tree123de14ef13a2ec6cb2890542396387e81954006
parentparsing.c: be prepared for unexpected content in commit/tag objects (diff)
downloadcgit-pink-a608ff7ba371c2dddf9274de3a438bf74e2560f7.tar.gz
cgit-pink-a608ff7ba371c2dddf9274de3a438bf74e2560f7.zip
ui-tag: show the taggers email
If it's specified there's no point in hiding it.

Signed-off-by: Lars Hjemli <hjemli@gmail.com>
-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>");