- commit
- 768a5fa45f1b18a8337af5aef6abfbad3b5eab7d
- parent
- 6d738e67aa1fc49e0a5e570fadccf996d1c32e29
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2023-08-07 20:03
switch to http for cloneurl
Diffstat
M | src/config.h | 2 | +- |
M | src/stagit.c.in | 2 | +- |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/config.h b/src/config.h
@@ -1,6 +1,6 @@ 1 1 static const char *logo = ""; 2 2 static const char *favicon = ""; 3 3 static const char *stylesheet = "/style.css";4 -1 static const char *cloneurl = "git://ce9e.org/";-1 4 static const char *cloneurl = "https://git.ce9e.org/"; 5 5 static char *readmefiles[] = { "HEAD:README", "HEAD:README.md", "HEAD:README.rst" }; 6 6 static int force_commits = 0;
diff --git a/src/stagit.c.in b/src/stagit.c.in
@@ -351,7 +351,7 @@ write_header(FILE *fp, const char *title, const char *relpath) 351 351 T("</div>"); 352 352 } 353 353 if (cloneurl[0]) {354 -1 T("<div class=\"cloneurl\">git clone {cloneurl}{reponame}</div>\n");-1 354 T("<div class=\"cloneurl\">git clone {cloneurl}{reponame}.git</div>\n"); 355 355 } 356 356 T("<nav>\n"); 357 357 T("<a href=\"{relpath:%s}.\">Files</a> |\n");