Fix track file renames in git panel (#42352)
Closes #30549 Release Notes: - Fixed: Git renames now properly show as renamed files in the git panel instead of appearing as deleted + untracked files <img width="351" height="132" alt="Screenshot 2025-11-10 at 17 39 44" src="https://github.com/user-attachments/assets/80e9c286-1abd-4498-a7d5-bd21633e6597" /> <img width="500" height="95" alt="Screenshot 2025-11-10 at 17 39 55" src="https://github.com/user-attachments/assets/e4c59796-df3a-4d12-96f4-e6706b13a32f" />
This commit is contained in:
@@ -359,6 +359,7 @@ impl GitRepository for FakeGitRepository {
|
||||
entries.sort_by(|a, b| a.0.cmp(&b.0));
|
||||
anyhow::Ok(GitStatus {
|
||||
entries: entries.into(),
|
||||
renamed_paths: HashMap::default(),
|
||||
})
|
||||
});
|
||||
Task::ready(match result {
|
||||
|
||||
Reference in New Issue
Block a user