diff options
| author | Freya Murphy <freya@freyacat.org> | 2025-08-24 03:58:35 +0000 |
|---|---|---|
| committer | Freya Murphy <freya@freyacat.org> | 2026-05-13 15:13:37 +0000 |
| commit | b1755a0e74532e18dc0baa049aae30318a8942d8 (patch) | |
| tree | 7e8d72bbde5167718df3492953c3a10f72f7ca2c /ui-shared.c | |
| parent | print repo readme with summary (diff) | |
| download | cgit-b1755a0e74532e18dc0baa049aae30318a8942d8.tar.gz cgit-b1755a0e74532e18dc0baa049aae30318a8942d8.tar.bz2 cgit-b1755a0e74532e18dc0baa049aae30318a8942d8.zip | |
remove extra slash from repo clone url
Diffstat (limited to '')
| -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 df52a9b..9a21d32 100644 --- a/ui-shared.c +++ b/ui-shared.c @@ -926,7 +926,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); } |