Revert "Convert git status calculation to use Entry IDs as the key instead of repo relative paths"
This reverts commit 728c6892c924ebeabb086e308ec4b5f56c4fd72a.
This commit is contained in:
@@ -1012,9 +1012,10 @@ impl ProjectPanel {
|
||||
|
||||
let entry_range = range.start.saturating_sub(ix)..end_ix - ix;
|
||||
for entry in &visible_worktree_entries[entry_range] {
|
||||
let path = &entry.path;
|
||||
let status = snapshot
|
||||
.repo_for(&entry.path)
|
||||
.and_then(|repo_entry| repo_entry.status_for(entry.id));
|
||||
.repo_for(path)
|
||||
.and_then(|entry| entry.status_for(&snapshot, path));
|
||||
|
||||
let mut details = EntryDetails {
|
||||
filename: entry
|
||||
|
||||
Reference in New Issue
Block a user