git: Always zero panel's entry counts when clearing entries (cherry-pick #26924) (#26965)
gcp-cherry-pick-bot[bot]
and
Cole Miller
created
Cherry-picked 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
Co-authored-by: Cole Miller <cole@zed.dev>