# Fix git staging in a subfolder \(\#37860\) · gitcafe/zed

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

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

Visibility: public

Requested revision: f39729464052b41abc9d3a5783cbdb8b898fe0d5

Requested commit: f39729464052b41abc9d3a5783cbdb8b898fe0d5

Commit: f39729464052b41abc9d3a5783cbdb8b898fe0d5

Tree: 399737c6b23dd4e35b09548963186d585c0f42ef

Author: localcc

Committer: GitHub

## Message

```
Fix git staging in a subfolder (#37860)

Closes #37418 

Ideal fix for this would be #37855 but that is a large refactor so
implementing this as a workaround.

Release Notes:

- N/A
```

## Parents

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

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