zed icon indicating copy to clipboard operation
zed copied to clipboard

Git: tracked files inconsistency

Open simas-dev opened this issue 8 months ago • 0 comments

Summary

When opening Zed from within an inner directory (e.g., 'backend'), the Git 'Tracked' view shows changes from the outer directory in a list view, but these changes do not appear in the 'Uncommitted Changes' view.

Description

Steps to trigger the problem:

  1. initialize git repository in empty folder: git init

  2. setup the repository like this: touch file.txt && mkdir backend && touch backend/file.txt . ├── backend │   └── file.txt ├── file.txt └── .git

  3. open zen within backend directory: zed backend/

Actual Behavior: When you click on the Git view, tracked files from both the root and inner directories are shown in the list view, but these files are missing in the "Uncommitted Changes" view. Image

Expected Behavior: The files visible in the "Uncommitted Changes" view should be the same as those in the list view.

Zed Version and System Specs

Zed: v0.183.13 (Zed) OS: Linux Wayland fedora 42 Memory: 30.7 GiB Architecture: x86_64 GPU: AMD Radeon Graphics (RADV RENOIR) || radv || Mesa 25.0.4

simas-dev avatar Apr 30 '25 13:04 simas-dev