From mboxrd@z Thu Jan 1 00:00:00 1970 From: Josefwells at alumni.utexas.net (Josef wells) Date: Fri, 2 Mar 2012 16:08:59 -0600 Subject: [PATCH] add TITLE to log commit entries Message-ID: --- ui-shared.c | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/ui-shared.c b/ui-shared.c index 3e9282f..305342d 100644 --- a/ui-shared.c +++ b/ui-shared.c @@ -360,7 +360,12 @@ void cgit_commit_link(char *name, const char *title, const char *class, html("ignorews=1"); delim = "&"; } - html("'>"); + html("' "); + if (rev && strcmp(rev, ctx.qry.head)) { + html("TITLE="); + html_url_arg(rev); + } + html(">"); html_txt(name); html(""); } -- 1.7.7.3