| trefs: add link to log per branch - stagit - static git page generator | |
| git clone git://src.adamsgaard.dk/stagit | |
| Log | |
| Files | |
| Refs | |
| README | |
| LICENSE | |
| --- | |
| commit a83a75bb18fb252a783a02353e32fd0f5ace2e6c | |
| parent 465d72a6d2795bb42d5e688dcb82af5169973483 | |
| Author: Hiltjo Posthuma <[email protected]> | |
| Date: Sun, 3 Jan 2016 21:21:30 +0100 | |
| refs: add link to log per branch | |
| Diffstat: | |
| M stagit.c | 6 ++++-- | |
| 1 file changed, 4 insertions(+), 2 deletions(-) | |
| --- | |
| diff --git a/stagit.c b/stagit.c | |
| t@@ -820,9 +820,11 @@ writebranches(FILE *fp) | |
| relpath = ""; | |
| - fputs("<tr><td>", fp); | |
| + fputs("<tr><td><a href=\"log-", fp); | |
| xmlencode(fp, branchname, strlen(branchname)); | |
| - fputs("</td><td>", fp); | |
| + fputs(".html\">", fp); | |
| + xmlencode(fp, branchname, strlen(branchname)); | |
| + fputs("</a></td><td>", fp); | |
| if (ci->author) | |
| printtimeshort(fp, &(ci->author->when)); | |
| fputs("</td><td>", fp); |