diff options
author | Freya Murphy <freya@freyacat.org> | 2025-09-04 15:27:40 +0000 |
---|---|---|
committer | Freya Murphy <freya@freyacat.org> | 2025-09-04 15:27:40 +0000 |
commit | 0909b3bd0b25f31b30a2f6d291ce527455765e98 (patch) | |
tree | 22e305c9336be5c16a01f13ce9fbd771e651a051 /shared.c | |
parent | better display raw files in tree view (diff) | |
download | cgit-0909b3bd0b25f31b30a2f6d291ce527455765e98.tar.gz cgit-0909b3bd0b25f31b30a2f6d291ce527455765e98.tar.bz2 cgit-0909b3bd0b25f31b30a2f6d291ce527455765e98.zip |
repo urls should be case insensitive
Diffstat (limited to 'shared.c')
-rw-r--r-- | shared.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -93,7 +93,7 @@ struct cgit_repo *cgit_get_repoinfo(const char *url) repo = &cgit_repolist.repos[i]; if (repo->ignore) continue; - if (!strcmp(repo->url, url)) + if (!strcasecmp(repo->url, url)) return repo; } return NULL; |