Skip to content

Fix relative URL path handling with clone_url

Stan Hu requested to merge sh-fix-relative-path-handling into main

!3518 (merged) refactored GetRemoteURL() but inadvertently caused relative paths to be dropped when clone_url is configured. This makes clones fail since the constructed clone URL will return a 404.

This commit restores the previous behavior of appending the project path to the specified clone_url path.

Relates to #29522 (closed)

Edited by Stan Hu

Merge request reports