Skip to content

Git diff indicators in scrollbar not cleared when committing via command palette #27340

Open
@RandaZraik

Description

@RandaZraik

Summary

In Window, Git diff indicators in scrollbar are not cleared when committing via command palette for a WSL project.

When committing changes using (git: commit) from the command palette, the diff indicators in the scrollbar remain visible in the current file even after a successful commit. They only disappear after manually reopening the file.

Steps to reproduce:

  1. Open a Git-tracked project in Zed.
  2. Make changes to a file.
  3. Commit using (git: commit) from the command palette.
  4. Notice that the diff indicators in the scrollbar are still visible.
  5. Close and reopen the file, the indicators are now gone.

Actual Behavior:
Even after committing changes via the command palette, the diff indicators remain visible in the open file. They only disappear after closing and reopening the file.

Expected Behavior:
After a successful commit, the diff indicators in the scrollbar should be cleared automatically to reflect a clean working state.

Zed Version and System Specs

Zed: v0.178.0 (Zed Dev ed6bf7f)
OS: Windows 10.0.26100
Memory: 31.7 GiB
Architecture: x86_64
GPU: NVIDIA GeForce RTX 3070 Ti Laptop GPU || NVIDIA || 529.01

Metadata

Metadata

Assignees

No one assigned

    Labels

    gitGit integration feedbackneeds-reproNeeds reproduction steps / someone to reproduce

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions