search: restore clear error for empty remote URL

main

Commit

pfleidi3mo ago

Trim the remote URL once up front and reject an empty value explicitly, restoring the "empty remote URL" message that delegating to gitremote.ParseURL had replaced with "no protocol in URL: ://". Using the trimmed value also keeps the redacted URL in the extra-segments error consistent with what was parsed.

Entire-Checkpoint: 2e5d8b2d92fb

Checkpoints

Fix Search to Accept Entire Mirror Remotes

Claude CodeOpus 4.8[1m]
View session
Checkpoint 1