refs: add link to log per branch
1 files changed, 4 insertions(+), 2 deletions(-) | |||
---|---|---|---|
M | stagit.c | +4 | -2 |
1@@ -820,9 +820,11 @@ writebranches(FILE *fp)
2
3 relpath = "";
4
5- fputs("<tr><td>", fp);
6+ fputs("<tr><td><a href=\"log-", fp);
7 xmlencode(fp, branchname, strlen(branchname));
8- fputs("</td><td>", fp);
9+ fputs(".html\">", fp);
10+ xmlencode(fp, branchname, strlen(branchname));
11+ fputs("</a></td><td>", fp);
12 if (ci->author)
13 printtimeshort(fp, &(ci->author->when));
14 fputs("</td><td>", fp);