tstagit.c: add fast/slow hints to clone urls - stagit - [fork] customized build… | |
git clone git://src.adamsgaard.dk/stagit | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit a2d4b09c789089503396bae1f1206d06f35cdc70 | |
parent 7e58463ae5df8c8ff71767d71257388c9f8a11c3 | |
Author: Anders Damsgaard <[email protected]> | |
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(-) | |
--- | |
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); | |
} |