# windows: Implement shell environment loading for git operations \(\#39019\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/682cf023ca627c0d2d8f0f45797e2a41496f6e02)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 682cf023ca627c0d2d8f0f45797e2a41496f6e02

Requested commit: 682cf023ca627c0d2d8f0f45797e2a41496f6e02

Commit: 682cf023ca627c0d2d8f0f45797e2a41496f6e02

Tree: b154b347f5cf9eab321ee046941ea189465da577

Author: Xiaobo Liu

Committer: GitHub

## Message

```
windows: Implement shell environment loading for git operations (#39019)

Fixes the "failed to get working directory environment for repository"
error on Windows by implementing proper shell environment variable
capture.

Release Notes:

- Fixed failed to get working directory environment for repository

---------

Signed-off-by: Xiaobo Liu <cppcoffee@gmail.com>
```

## Parents

- [72948e14ee2047b55cdf96c4c041ec7f7713e77a](https://git.cafe/gitcafe/zed/commit/72948e14ee2047b55cdf96c4c041ec7f7713e77a?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/682cf023ca627c0d2d8f0f45797e2a41496f6e02?format=markdown)
