aboutsummaryrefslogtreecommitdiffstats
path: root/stagit.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--stagit.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/stagit.c b/stagit.c
index 4b56829..9190b72 100644
--- 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);