# git: Fix the panel's update debouncing \(\#23462\) · gitcafe/zed

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

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

Visibility: public

Requested revision: a81197989403676008ad45be2f9353c0c0fecc24

Requested commit: a81197989403676008ad45be2f9353c0c0fecc24

Commit: a81197989403676008ad45be2f9353c0c0fecc24

Tree: f3f6e9bc78810329fb0a69ad414306dadf31035b

Author: Cole Miller

Committer: GitHub

## Message

```
git: Fix the panel's update debouncing (#23462)

This PR replaces the update debouncing code in the git panel with a more
correct and conventional structure (holding a `Task` field instead of
spawning a task that runs a loop). I wrote the code that this replaces
without realizing that it doesn't implement debouncing properly.

Release Notes:

- N/A
```

## Parents

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

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