zed icon indicating copy to clipboard operation
zed copied to clipboard

Git: `git mv` shows as deleted file + untracked new file

Open everdrone opened this issue 7 months ago • 0 comments

Summary

Git renames are not properly tracked in the git panel. They show as deleted file + new untracked file.

Description

Steps to trigger the problem:

  1. open zed into a git repo with a file named old.rs
  2. from the terminal, use git mv old.rs new.rs
  3. the git panel shows 1 deleted old.rs and 1 untracked new.rs

Actual Behavior: Expected Behavior: It should display a renamed (or moved) file in the changes list

Zed Version and System Specs

Zed: v0.185.15 (Zed) OS: Windows 10.0.22631 Memory: 63.2 GiB Architecture: x86_64 GPU: NVIDIA GeForce RTX 4090 || NVIDIA || 576.02

everdrone avatar May 12 '25 09:05 everdrone