# git: Fix staging file hunks on Windows \(\#26661\) · gitcafe/zed

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

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

Visibility: public

Requested revision: de67d93a9213e887865b23514b36a5ac32e300b4

Requested commit: de67d93a9213e887865b23514b36a5ac32e300b4

Commit: de67d93a9213e887865b23514b36a5ac32e300b4

Tree: d2a7348a364f231da48f1e158ca2eeec8b2b7619

Author: CharlesChen0823

Committer: GitHub

## Message

```
git: Fix staging file hunks on Windows (#26661)

Closes #26458 

I had checked, and also reference the implementation in vscode.

Release Notes:

- N/A

---------

Co-authored-by: 张小白 <364772080@qq.com>
```

## Parents

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

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