tstagit.c: add fast/slow hints to clone urls - stagit - [fork] customized build of stagit, the static git page generator
(HTM) git clone git://src.adamsgaard.dk/stagit
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit a2d4b09c789089503396bae1f1206d06f35cdc70
(DIR) parent 7e58463ae5df8c8ff71767d71257388c9f8a11c3
(HTM) Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Sat, 28 Nov 2020 00:40:06 +0100
stagit.c: add fast/slow hints to clone urls
Diffstat:
M stagit.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
(DIR) diff --git a/stagit.c b/stagit.c
t@@ -482,11 +482,11 @@ writeheader(FILE *fp, const char *title)
xmlencode(fp, cloneurl, strlen(cloneurl));
fputs("</a>", fp);
if (altcloneurl[0]) {
- fputs("<br />\ngit clone <a href=\"", fp);
+ fputs(" # fast<br />\ngit clone <a href=\"", fp);
xmlencode(fp, altcloneurl, strlen(altcloneurl));
fputs("\">", fp);
xmlencode(fp, altcloneurl, strlen(altcloneurl));
- fputs("</a>", fp);
+ fputs("</a> # slow", fp);
}
fputs("</td></tr>", fp);
}