stagit

Custom stagit fork for git.deurzen.net
git clone git://git.deurzen.net/stagit
Log | Files | Refs | README | LICENSE

commit 444e41b315925181f3ead6f2c3dd1354475e90e3
parent a89e756c9e59d41cb1e392616333be50b3960c71
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Mon,  4 Jan 2016 23:55:39 +0100

fix link to commit from log page

Diffstat:
Mstagit.c | 4+---
1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/stagit.c b/stagit.c @@ -463,9 +463,8 @@ writelog(FILE *fp, const char *branch) fputs("<table id=\"log\"><thead>\n<tr><td>Age</td><td>Commit message</td>" "<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; @@ -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);