# git: Always zero panel's entry counts when clearing entries \(\#26924\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 88907eeb382f45739514ccb7edc87ab0ca068481

Requested commit: 88907eeb382f45739514ccb7edc87ab0ca068481

Commit: 88907eeb382f45739514ccb7edc87ab0ca068481

Tree: 6608cafd125bb9f296d8a46fab3cc7bc597a1e4b

Author: Cole Miller

Committer: GitHub

## Message

```
git: Always zero panel's entry counts when clearing entries (#26924)

Keep the panel's state consistent even when we transition to having no
active repository.

Release Notes:

- N/A
```

## Parents

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

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