]> git.99rst.org Git - git.git/commit
url: move url_is_local_not_ssh to url.h
authorMatheus Afonso Martins Moreira <redacted>
Sat, 2 May 2026 05:28:36 +0000 (05:28 +0000)
committerJunio C Hamano <redacted>
Wed, 6 May 2026 00:48:26 +0000 (09:48 +0900)
commit51fcf73014f542f074a253add5867c24c82c854f
treed9bc5df9b85e7a298dcd975884cc4780afe31d72
parenta8f96968a96d5b0a90118402e81742d26c8347cb
url: move url_is_local_not_ssh to url.h

Move url_is_local_not_ssh from connect.c/connect.h
to url.c/url.h so that the new url_parse function
in urlmatch.c, and any future code that needs to
distinguish a local path from an scp style SSH URL,
can reuse the heuristic without depending on connect.c.

No behavior change.

Signed-off-by: Matheus Afonso Martins Moreira <redacted>
Signed-off-by: Junio C Hamano <redacted>
connect.c
connect.h
remote.c
url.c
url.h
git clone https://git.99rst.org/PROJECT