summary refs log tree commit diff
path: root/ui-log.c
diff options
context:
space:
mode:
authorLars Hjemli <hjemli@gmail.com>2011-06-02 10:33:23 +0000
committerLars Hjemli <hjemli@gmail.com>2011-06-02 10:33:23 +0000
commit7eb9f9e980c2ce1d93c979c4725cf7b60083b7b4 (patch)
tree43a1da7034986da6e16724690d3bbfacf8117e7d /ui-log.c
parent9acd1cf137ae6c91bafa91f6a073b7908e7ea695 (diff)
parentd885158f6ac29e04bd14dd132331c7e3a93e7490 (diff)
Merge branch 'stable'
Diffstat (limited to 'ui-log.c')
-rw-r--r--ui-log.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/ui-log.c b/ui-log.c
index 2e6e9d6..4a295bd 100644
--- a/ui-log.c
+++ b/ui-log.c
@@ -95,7 +95,6 @@ void show_commit_decorations(struct commit *commit)
 void print_commit(struct commit *commit, struct rev_info *revs)
 {
 	struct commitinfo *info;
-	char *tmp;
 	int cols = revs->graph ? 3 : 2;
 	struct strbuf graphbuf = STRBUF_INIT;
 	struct strbuf msgbuf = STRBUF_INIT;
@@ -129,11 +128,7 @@ void print_commit(struct commit *commit, struct rev_info *revs)
 	}
 	else {
 		html("<td>");
-		tmp = fmt("id=%s", sha1_to_hex(commit->object.sha1));
-		tmp = cgit_fileurl(ctx.repo->url, "commit", ctx.qry.vpath, tmp);
-		html_link_open(tmp, NULL, NULL);
 		cgit_print_age(commit->date, TM_WEEK * 2, FMT_SHORTDATE);
-		html_link_close();
 		html("</td>");
 	}
 
@@ -171,11 +166,7 @@ void print_commit(struct commit *commit, struct rev_info *revs)
 
 	if (revs->graph) {
 		html("</td><td>");
-		tmp = fmt("id=%s", sha1_to_hex(commit->object.sha1));
-		tmp = cgit_fileurl(ctx.repo->url, "commit", ctx.qry.vpath, tmp);
-		html_link_open(tmp, NULL, NULL);
 		cgit_print_age(commit->date, TM_WEEK * 2, FMT_SHORTDATE);
-		html_link_close();
 	}
 
 	if (ctx.repo->enable_log_filecount || ctx.repo->enable_log_linecount) {