zed/crates
Max Brunsfeld f83514cde4
Fix regression in handling git FS events (#2670)
As part of an optimization in
https://github.com/zed-industries/zed/pull/2663, I changed the way that
the worktree ignores FS events within unloaded directories. But this
accidentally prevented us from detecting some events that occur inside
of `.git` directories.

In this PR, I've made further tweaks to which FS events we can ignore.
We now explicitly opt *in* to scanning `.git` (shallowly) directories
(even though they are ignored). Note that we still don't recursively
scan the git directory (including all of the files inside `objects`
etc). This seems like the correct amount of work to do, and from my
testing (and our unit tests that use the real FS and real git
repositories), it seems to work correctly.

Release Notes:

- Fixed a bug where Zed would not detect some git repository changes
(preview only).
2023-06-30 11:40:49 -07:00
..
activity_indicator Merge branch 'main' into fix-broken-lsp-installations 2023-06-28 16:46:06 -04:00
ai Enable assistant on stable 2023-06-28 12:09:49 +02:00
auto_update Split out Interactive<T> into Toggle<T> and Interactive<T> 2023-06-20 16:05:20 -07:00
breadcrumbs Split out Interactive<T> into Toggle<T> and Interactive<T> 2023-06-20 16:05:20 -07:00
call Undeafen: unmute if user was not muted prior to deafening 2023-06-28 11:10:56 +02:00
cli
client Add installation_id to panic events 2023-06-23 21:02:01 -04:00
clock
collab fmt and update dependency 2023-06-29 17:49:42 -07:00
collab_ui Remove on_click_out handler from context menu 2023-06-29 17:10:51 -07:00
collections
command_palette Fix up toggles 2023-06-20 16:05:23 -07:00
context_menu Remove on_click_out handler from context menu 2023-06-29 17:10:51 -07:00
copilot Merge branch 'main' into fix-broken-lsp-installations 2023-06-28 16:46:06 -04:00
copilot_button Remove on_click_out handler from context menu 2023-06-29 17:10:51 -07:00
db
diagnostics Split Interactive into Interactive and Toggleable (#2628) 2023-06-21 15:03:08 -04:00
drag_and_drop
editor Remove a flacky test, fix the failing one 2023-06-29 22:45:04 +03:00
feedback Split out Interactive<T> into Toggle<T> and Interactive<T> 2023-06-20 16:05:20 -07:00
file_finder Split out Interactive<T> into Toggle<T> and Interactive<T> 2023-06-20 16:05:20 -07:00
fs Add the ability to make new directories by adding slashes to a file name 2023-06-29 17:35:22 -07:00
fsevent
fuzzy
git
go_to_line
gpui fmt 2023-06-28 16:35:57 -07:00
gpui_macros Add a derive macro for Element 2023-06-25 07:51:50 -06:00
install_cli
journal
language Add more hint tests 2023-06-29 22:39:18 +03:00
language_selector Split out Interactive<T> into Toggle<T> and Interactive<T> 2023-06-20 16:05:20 -07:00
language_tools Split out Interactive<T> into Toggle<T> and Interactive<T> 2023-06-20 16:05:20 -07:00
live_kit_client fmt 2023-06-27 19:25:46 -07:00
live_kit_server
lsp Remove a flacky test, fix the failing one 2023-06-29 22:45:04 +03:00
media
menu
node_runtime Reinstall Node whenever a NodeRuntime operation has serious error 2023-06-28 16:43:45 -04:00
outline Split out Interactive<T> into Toggle<T> and Interactive<T> 2023-06-20 16:05:20 -07:00
picker picker: fix warnings 2023-06-26 17:07:33 +02:00
plugin
plugin_macros
plugin_runtime
project Fix regression in handling git FS events (#2670) 2023-06-30 11:40:49 -07:00
project_panel fmt and update dependency 2023-06-29 17:49:42 -07:00
project_symbols Rename on/off states to active/inactive 2023-06-20 16:05:23 -07:00
recent_projects Split out Interactive<T> into Toggle<T> and Interactive<T> 2023-06-20 16:05:20 -07:00
rope Simplify InlayMap::splice interface 2023-06-29 22:25:49 +03:00
rpc Post-rebase fixes 2023-06-29 22:39:33 +03:00
search Re-enable buffer search in assistant 2023-06-23 09:57:31 +02:00
settings fmt and update dependency 2023-06-29 17:49:42 -07:00
snippet
sqlez
sqlez_macros
staff_mode
sum_tree Account for inlay biases when clipping a point 2023-06-29 22:25:50 +03:00
terminal
terminal_view Remove on_click_out handler from context menu 2023-06-29 17:10:51 -07:00
text Rename SumTree::push_tree to ::append 2023-06-19 19:49:33 -06:00
theme Update Hint Style 2023-06-29 22:39:17 +03:00
theme_selector Split out Interactive<T> into Toggle<T> and Interactive<T> 2023-06-20 16:05:20 -07:00
util Merge branch 'main' into fix-broken-lsp-installations 2023-06-28 16:46:06 -04:00
vim vim: indent/outdent (#2644) 2023-06-27 04:15:55 -06:00
welcome Split out Interactive<T> into Toggle<T> and Interactive<T> 2023-06-20 16:05:20 -07:00
workspace fmt 2023-06-29 17:19:35 -07:00
xtask Fixup xtask compilation 2023-06-22 18:06:52 +02:00
zed Stub out for language plugin 2023-06-28 17:06:50 -04:00
zed-actions Add Sign in button for an unregistered user 2023-06-15 22:05:43 -07:00