---
 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("</a>");
 }
-- 
1.7.7.3

_______________________________________________
cgit mailing list
[email protected]
http://hjemli.net/mailman/listinfo/cgit

Reply via email to