WIP: log received updated_entries
on remote worktree
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
parent
c65dae8095
commit
94e70bc1a6
1 changed files with 1 additions and 0 deletions
|
@ -1179,6 +1179,7 @@ impl Snapshot {
|
||||||
|
|
||||||
for entry in update.updated_entries {
|
for entry in update.updated_entries {
|
||||||
let entry = Entry::try_from((&self.root_char_bag, entry))?;
|
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, &()) {
|
if let Some(PathEntry { path, .. }) = self.entries_by_id.get(&entry.id, &()) {
|
||||||
entries_by_path_edits.push(Edit::Remove(PathKey(path.clone())));
|
entries_by_path_edits.push(Edit::Remove(PathKey(path.clone())));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue