diff options
| author | Matheus Afonso Martins Moreira <matheus@matheusmoreira.com> | 2026-05-02 05:28:37 +0000 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2026-05-06 09:48:27 +0900 |
| commit | d48e36a8a23d931e869fbb3156fc95a5732cb061 (patch) | |
| tree | 0fbd4b9dde776d3947ab12f93b9b49fb8c85d7e2 /t/t4013/diff.diff_initial..side | |
| parent | 51fcf73014f542f074a253add5867c24c82c854f (diff) | |
url: move scheme detection to URL header/source
Move enum url_scheme and url_get_scheme()
from connect.c to url.h and url.c
so that other code can identify
a URL's scheme without depending
on connect.c.
No behavior change. url_get_scheme() still dies
on an unrecognized scheme name, with the same
translated message as before.
scheme_name() stays in connect.c
because it has no other callers.
Signed-off-by: Matheus Afonso Martins Moreira <matheus@matheusmoreira.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4013/diff.diff_initial..side')
0 files changed, 0 insertions, 0 deletions
