# git_ui: Ensure discarding tracked changes respects staging state \(\#61608\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 11a8837bad6607496511a8b3ad942e352adcc215

Requested commit: 11a8837bad6607496511a8b3ad942e352adcc215

Commit: 11a8837bad6607496511a8b3ad942e352adcc215

Tree: bc77cc14345a2e5ca56ef349068553a90097a089

Author: Tai Nguyen

Committer: GitHub

## Message

```
git_ui: Ensure discarding tracked changes respects staging state (#61608)

Closes #56020

Release Notes:

- Fixed Discard Tracked Changes discarding unstaged files

---------

Co-authored-by: zed-zippy[bot] <234243425+zed-zippy[bot]@users.noreply.github.com>
```

## Parents

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

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