ok/jj
1
0
Fork 0
forked from mirrors/jj
jj/lib
Martin von Zweigbergk 94e03f5ac8 repo: enforce view invariants lazily
It's very slow to remove non-heads from the set of heads every time we
add an head. For example, in the git.git repo, a no-op `jj git import`
takes ~15 s. This patch changes makes us just mark the set of heads
dirty when a commit has been added and then we remove non-heads when
needed. That cuts down the `jj git import` time to ~200 ms.
2021-12-01 16:18:23 -08:00
..
benches
protos git: start tracking HEAD of underlying Git repo 2021-12-01 11:08:53 -08:00
src repo: enforce view invariants lazily 2021-12-01 16:18:23 -08:00
tests revsets: add git_head() revset 2021-12-01 11:08:53 -08:00
build.rs
Cargo.toml