gitbutler/crates/gitbutler-core
Sebastian Thiel 2e969d1507
collect filemonitor events into lists to avoid excessive recomputation.
Previously, each file change both in `.git` as well as in the worktree would
cause a complete recomputation. This computation included opening a git
repository at least once (probaby more often), to make an 'is-ignored' check.

The latter is very expensive in `git2` and gets more expensive the more
files there are.

Now the repository is opened when needed, and we re-use it for all applicable
file paths.
2024-04-15 07:11:16 +02:00
..
src collect filemonitor events into lists to avoid excessive recomputation. 2024-04-15 07:11:16 +02:00
tests dissolve the event queue in favor of method calls 2024-04-15 07:11:09 +02:00
Cargo.toml use workspace dependencies for workspace crates 2024-04-10 13:09:04 +02:00