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)
| 395 | /// This is the config-free path; [`resolve_identity_name_with_override`] layers |
| 396 | /// the `--identity` override and configured server bindings on top. |
| 397 | fn resolve_identity_name(remote_url: &str) -> Option<String> { |
| 398 | resolve_identity_from_url(remote_url, &[]) |
| 399 | } |
| 400 | |
| 401 | /// Extract the first subdomain label from a host string. |
| 402 | /// |