[PATCH] add TITLE to log commit entries
Josef wells
Josefwells at alumni.utexas.net
Fri Mar 2 23:08:59 CET 2012
---
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
More information about the CGit
mailing list