Git askpass (#25953)

Supersedes #25848

Release Notes:

- git: Supporting push/pull/fetch when remote requires auth

---------

Co-authored-by: Mikayla Maki <mikayla.c.maki@gmail.com>
This commit is contained in:
Conrad Irwin
2025-03-06 05:20:06 +00:00
committed by GitHub
co-authored by Mikayla Maki
parent 6fdb666bb7
commit c34357e2ab
29 changed files with 864 additions and 379 deletions
+11 -4
View File
@@ -707,8 +707,15 @@ impl Project {
)
});
let git_store =
cx.new(|cx| GitStore::new(&worktree_store, buffer_store.clone(), None, None, cx));
let git_store = cx.new(|cx| {
GitStore::new(
&worktree_store,
buffer_store.clone(),
client.clone().into(),
None,
cx,
)
});
cx.subscribe(&lsp_store, Self::on_lsp_store_event).detach();
@@ -832,7 +839,7 @@ impl Project {
GitStore::new(
&worktree_store,
buffer_store.clone(),
Some(ssh_proto.clone()),
ssh_proto.clone(),
Some(ProjectId(SSH_PROJECT_ID)),
cx,
)
@@ -1040,7 +1047,7 @@ impl Project {
GitStore::new(
&worktree_store,
buffer_store.clone(),
Some(client.clone().into()),
client.clone().into(),
Some(ProjectId(remote_id)),
cx,
)