diff options
author | Lars Hjemli <hjemli@gmail.com> | 2011-06-02 10:33:23 +0000 |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2011-06-02 10:33:23 +0000 |
commit | 7eb9f9e980c2ce1d93c979c4725cf7b60083b7b4 (patch) | |
tree | 43a1da7034986da6e16724690d3bbfacf8117e7d /ui-log.c | |
parent | 9acd1cf137ae6c91bafa91f6a073b7908e7ea695 (diff) | |
parent | d885158f6ac29e04bd14dd132331c7e3a93e7490 (diff) | |
download | cgit-7eb9f9e980c2ce1d93c979c4725cf7b60083b7b4.tar.gz cgit-7eb9f9e980c2ce1d93c979c4725cf7b60083b7b4.tar.bz2 cgit-7eb9f9e980c2ce1d93c979c4725cf7b60083b7b4.zip |
Merge branch 'stable'
Diffstat (limited to 'ui-log.c')
-rw-r--r-- | ui-log.c | 9 |
1 files changed, 0 insertions, 9 deletions
@@ -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) { |