19a2856
Let ignore edits batch naturally without imposing a max batch len
Antonio Scandurra
created
af3bc23
Recompute ignore status when .gitignore changes or for new entries
Antonio Scandurra
created
499e55e
Start work on handling changes to gitignore files
Click to expand commit body
* Use the published ignore crate
* Store ignore objects on snapshot, and use them to compute
files' ignored status dynamically, instead of storing the
ignored status on the file.
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Co-Authored-By: Antonio Scandurra <me@as-cii.com>
Nathan Sobo
,
Max Brunsfeld
, and
Antonio Scandurra
created
9899614
Remove task_done condvar which supported finish_pending_tasks
Click to expand commit body
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Co-Authored-By: Antonio Scandurra <me@as-cii.com>
Nathan Sobo
,
Max Brunsfeld
, and
Antonio Scandurra
created
1a8e909
Ensure we remove broadcast channels after all conditions resolve
Click to expand commit body
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Co-Authored-By: Antonio Scandurra <me@as-cii.com>
Nathan Sobo
,
Max Brunsfeld
, and
Antonio Scandurra
created
dcc2bdf
Panic when awaiting conditions on dropped entities
Click to expand commit body
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Co-Authored-By: Antonio Scandurra <me@as-cii.com>
Nathan Sobo
,
Max Brunsfeld
, and
Antonio Scandurra
created
ddd746b
Use `env_logger` instead of `simplelog` in tests
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
and
Nathan Sobo
created
37444ac
Time out `condition` after 200ms and add basic unit tests for it
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
and
Nathan Sobo
created
cd7dccd
Replace remaining usages of `finish_pending_tasks` with `condition`
Antonio Scandurra
created
ebb7124
Use `scan_complete` and the new `ModelHandle::condition` test method
Antonio Scandurra
created
d11d548
Rework `Worktree::scan_complete` to use a watch
Antonio Scandurra
created
a4c1fe5
WIP: Add a condition method to model and view handles for use in tests
Click to expand commit body
It returns a future that resolves when the provided predicate returns true. The predicate is called any time the handle's targeted entity calls notify.
Still need to add a timeout and completely remove finsih_pending_tasks.
Nathan Sobo
created
69a43af
Add a method for waiting until a worktree's current scan is complete
Click to expand commit body
Start removing usages of finish_pending_tasks in tests
Max Brunsfeld
created
8fb79a3
Enable split debuginfo for faster compiles