# Fix git commands for staging and unstaging \(\#23147\) · gitcafe/zed

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

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

Visibility: public

Requested revision: e86fe1d0b9611cd2abebde8ce16a4978b8fb4a9e

Requested commit: e86fe1d0b9611cd2abebde8ce16a4978b8fb4a9e

Commit: e86fe1d0b9611cd2abebde8ce16a4978b8fb4a9e

Tree: 700691200c57906c2a39854de8644f45277c81c2

Author: Cole Miller

Committer: GitHub

## Message

```
Fix git commands for staging and unstaging (#23147)

This fixes a bug that prevents unstaging added files.

I've also removed the batching/debouncing logic in the long-running task
that launches the git invocations---I added this originally but I don't
think it's really necessary.

Release Notes:

- N/A
```

## Parents

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

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