diff options
author | Hiltjo Posthuma <[email protected]> | 2016-01-04 23:55:39 +0100 |
---|---|---|
committer | Hiltjo Posthuma <[email protected]> | 2016-01-04 23:55:39 +0100 |
commit | 444e41b315925181f3ead6f2c3dd1354475e90e3 (patch) | |
tree | f4d6b73fbfd4189622fb9ec3ba0e927a1646e64a /stagit.c | |
parent | a89e756c9e59d41cb1e392616333be50b3960c71 (diff) | |
download | stagit-444e41b315925181f3ead6f2c3dd1354475e90e3.tar.gz stagit-444e41b315925181f3ead6f2c3dd1354475e90e3.zip |
fix link to commit from log page
Diffstat (limited to '')
-rw-r--r-- | stagit.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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); |