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("
| ", fp);
+ fputs(" |
| ", fp);
+ fputs(".html\">", fp);
+ xmlencode(fp, branchname, strlen(branchname));
+ fputs(" | ", fp);
if (ci->author)
printtimeshort(fp, &(ci->author->when));
fputs(" | ", fp);
|