Don't upload local settings to ssh remotes (#19577)

Closes: #18618

Release Notes:

- (breaking) SSH Remoting: stop uploading local settings to the remote.
This commit is contained in:
Conrad Irwin 2024-10-22 20:11:05 -06:00 committed by GitHub
parent 48674ec54c
commit 07e086b41e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 2 additions and 82 deletions

View file

@ -728,12 +728,7 @@ impl Project {
});
let settings_observer = cx.new_model(|cx| {
SettingsObserver::new_ssh(
ssh_proto.clone(),
worktree_store.clone(),
task_store.clone(),
cx,
)
SettingsObserver::new_remote(worktree_store.clone(), task_store.clone(), cx)
});
cx.subscribe(&settings_observer, Self::on_settings_observer_event)
.detach();