# git: Use environment from login shell to search for system git binary, and prefer it to the bundled binary \(\#39302\) · gitcafe/zed

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

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

Visibility: public

Requested revision: af630be7ca5ced87b889d45787444e0ce0d3d6fd

Requested commit: af630be7ca5ced87b889d45787444e0ce0d3d6fd

Commit: af630be7ca5ced87b889d45787444e0ce0d3d6fd

Tree: ac13b1ea169c45220f64c19e36ed5a5ad4c91133

Author: Cole Miller

Committer: GitHub

## Message

```
git: Use environment from login shell to search for system git binary, and prefer it to the bundled binary (#39302)

Closes #38571

Release Notes:

- git: Fixed git features not working when git was installed in an
unusual location.

---------

Co-authored-by: Lukas Wirth <me@lukaswirth.dev>
```

## Parents

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

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