stagit

static git repository generator

git clone https://9o.is/git/stagit.git

commit c29e51d44bb3eb6352a220b4b45ead8789231fc1
parent fe5ea6f044a8990c9d3c32af622d218df5231e6b
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Sun,  3 Jan 2016 21:21:30 +0100

refs: add link to log per branch

Diffstat:
Mstagit.c | 6++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/stagit.c b/stagit.c @@ -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);