git: Pass project environment to git binary invocations (#26301)
Closes #26213 Release Notes: - Git Beta: pass down environment variables from project to git operations
This commit is contained in:
parent
013a646799
commit
b91e929086
6 changed files with 194 additions and 55 deletions
|
@ -844,6 +844,7 @@ impl Project {
|
|||
GitStore::new(
|
||||
&worktree_store,
|
||||
buffer_store.clone(),
|
||||
Some(environment.clone()),
|
||||
client.clone().into(),
|
||||
None,
|
||||
cx,
|
||||
|
@ -972,6 +973,7 @@ impl Project {
|
|||
GitStore::new(
|
||||
&worktree_store,
|
||||
buffer_store.clone(),
|
||||
Some(environment.clone()),
|
||||
ssh_proto.clone(),
|
||||
Some(ProjectId(SSH_PROJECT_ID)),
|
||||
cx,
|
||||
|
@ -1179,6 +1181,7 @@ impl Project {
|
|||
GitStore::new(
|
||||
&worktree_store,
|
||||
buffer_store.clone(),
|
||||
None,
|
||||
client.clone().into(),
|
||||
Some(ProjectId(remote_id)),
|
||||
cx,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue