Introduction
Introduction Statistics Contact Development Disclaimer Help
tfix link to commit from log page - stagit - static git page generator
git clone git://src.adamsgaard.dk/stagit
Log
Files
Refs
README
LICENSE
---
commit 444e41b315925181f3ead6f2c3dd1354475e90e3
parent a89e756c9e59d41cb1e392616333be50b3960c71
Author: Hiltjo Posthuma <[email protected]>
Date: Mon, 4 Jan 2016 23:55:39 +0100
fix link to commit from log page
Diffstat:
M stagit.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/stagit.c b/stagit.c
t@@ -463,9 +463,8 @@ writelog(FILE *fp, const char *branch)
fputs("<table id=\"log\"><thead>\n<tr><td>Age</td><td>Commit message</…
"<td>Author</td><td>Files</td><td class=\"num\">+</td>"
"<td class=\"num\">-</td></tr>\n</thead><tbody>\n", fp);
+ relpath = "../";
while (!git_revwalk_next(&id, w)) {
- relpath = "";
-
if (!(ci = commitinfo_getbyoid(&id)))
break;
t@@ -494,7 +493,6 @@ writelog(FILE *fp, const char *branch)
fprintf(fp, "-%zu", ci->delcount);
fputs("</td></tr>\n", fp);
- relpath = "../";
printshowfile(ci);
commitinfo_free(ci);
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.