Files
zed/crates
Sarmad GulzarandNathan Sobo 3dd2e80ec5 Filter common git hosting providers from SSH config hosts (#51528)
Fixes https://github.com/zed-industries/zed/issues/50218

- For every `Host` block: collect its host patterns (handling
continuations and filtering `!`/`*/\`), remember any `Hostname`.
- When the block ends: if `Hostname` is a git provider → discard
everything.
- Else if `Hostname` exists → keep all host aliases.
- Else → keep only the host aliases that are not git providers.

Added more extensive test coverage as well to cover the above!

Release Notes:

- Fixed SSH host picker showing git provider domains (e.g. github.com,
gitlab.com) from SSH config.

---------

Co-authored-by: Nathan Sobo <nathan@zed.dev>
2026-03-18 14:09:46 -06:00
..
2026-03-11 03:08:39 +00:00
2026-03-12 22:15:12 +00:00
2026-02-26 18:36:50 +01:00
2025-11-07 11:36:05 +00:00
2026-03-16 17:23:02 +01:00