WIP: log received updated_entries on remote worktree

Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
Antonio Scandurra 2022-05-23 19:39:24 +02:00
parent c65dae8095
commit 94e70bc1a6

View file

@ -1179,6 +1179,7 @@ impl Snapshot {
for entry in update.updated_entries {
let entry = Entry::try_from((&self.root_char_bag, entry))?;
println!("{:?} = {}", &entry.path, entry.is_ignored);
if let Some(PathEntry { path, .. }) = self.entries_by_id.get(&entry.id, &()) {
entries_by_path_edits.push(Edit::Remove(PathKey(path.clone())));
}