mirror of
https://github.com/zed-industries/zed.git
synced 2024-09-19 02:17:35 +03:00
Fix git watching on linux (#12989)
Release Notes: - N/A Co-authored-by: Nathan <nathan@zed.dev>
This commit is contained in:
parent
599102573a
commit
95c69d0696
@ -3751,6 +3751,7 @@ impl BackgroundScanner {
|
|||||||
statuses,
|
statuses,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
self.watcher.add(child_abs_path.as_ref()).log_err();
|
||||||
} else if child_name == *GITIGNORE {
|
} else if child_name == *GITIGNORE {
|
||||||
match build_gitignore(&child_abs_path, self.fs.as_ref()).await {
|
match build_gitignore(&child_abs_path, self.fs.as_ref()).await {
|
||||||
Ok(ignore) => {
|
Ok(ignore) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user