# Scope worktree creation spinner to the thread that initiated it \(\#53544\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 78c2e0d778d76c3bdf2e7f79909c666d968d07f2

Requested commit: 78c2e0d778d76c3bdf2e7f79909c666d968d07f2

Commit: 78c2e0d778d76c3bdf2e7f79909c666d968d07f2

Tree: bdd30fb25302729525feb8397c0d74e0e024c981

Author: Richard Feldman

Committer: GitHub

## Message

```
Scope worktree creation spinner to the thread that initiated it (#53544)

The "Creating Worktree…" spinner, error banner, and disabled selector
state were stored as panel-wide state. This meant switching to a
different thread while a worktree was being created would still show the
spinner on the new thread.

Release Notes:

- N/A
```

## Parents

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

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