aboutsummaryrefslogtreecommitdiffstats
path: root/stagit.c
diff options
context:
space:
mode:
authorHiltjo Posthuma <[email protected]>2016-01-03 21:21:30 +0100
committerHiltjo Posthuma <[email protected]>2016-01-03 21:21:30 +0100
commita83a75bb18fb252a783a02353e32fd0f5ace2e6c (patch)
tree57dad9f5cf8d75e874b0e988a96e9d73976568ab /stagit.c
parent465d72a6d2795bb42d5e688dcb82af5169973483 (diff)
downloadstagit-a83a75bb18fb252a783a02353e32fd0f5ace2e6c.tar.gz
stagit-a83a75bb18fb252a783a02353e32fd0f5ace2e6c.zip
refs: add link to log per branch
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);