Extract the identity name from a remote URL alone (no server config). Tries URL userinfo first (`bob@host`), then the subdomain (`bob.host`). This is the config-free path; [`resolve_identity_name_with_override`] layers the `--identity` override and configured server bindings on top.
(remote_url: &str)
| 640 | /// This is the config-free path; [`resolve_identity_name_with_override`] layers |
| 641 | /// the `--identity` override and configured server bindings on top. |
| 642 | fn resolve_identity_name(remote_url: &str) -> Option<String> { |
| 643 | resolve_identity_from_url(remote_url, &[]) |
| 644 | } |
| 645 | |
| 646 | /// Extract the first subdomain label from a host string. |
| 647 | /// |