diff options
author | Freya Murphy <freya@freyacat.org> | 2025-08-24 03:58:35 +0000 |
---|---|---|
committer | Freya Murphy <freya@freyacat.org> | 2025-08-24 03:58:35 +0000 |
commit | 3384cdf2b9c9fbfb3fb528b001b734bb9df8959a (patch) | |
tree | 762eb9176cfed11ae10eb3bde67e0d82c3198352 | |
parent | print repo readme with summary (diff) | |
download | cgit-3384cdf2b9c9fbfb3fb528b001b734bb9df8959a.tar.gz cgit-3384cdf2b9c9fbfb3fb528b001b734bb9df8959a.tar.bz2 cgit-3384cdf2b9c9fbfb3fb528b001b734bb9df8959a.zip |
remove extra slash from repo clone url
-rw-r--r-- | ui-shared.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui-shared.c b/ui-shared.c index 6fae72d..a4fb129 100644 --- a/ui-shared.c +++ b/ui-shared.c @@ -921,7 +921,7 @@ static void add_clone_urls(void (*fn)(const char *), char *txt, char *suffix) if (url_list[i]->len == 0) continue; if (suffix && *suffix) - strbuf_addf(url_list[i], "/%s", suffix); + strbuf_addf(url_list[i], "%s", suffix); fn(url_list[i]->buf); } |