ok/jj
1
0
Fork 0
forked from mirrors/jj
jj/lib
Martin von Zweigbergk 4fa2a27f38 working_copy: treat a missing file state as dirty
If we don't have a recorded state for a file, we assume that it's new,
so we add it to the tree as the type it appears on disk. That means we
won't check if it exists as a conflict in the current tree. As another
step towards making the file state just a cache, let's instead treat
this case as a dirty file, so we look up the current value from the
tree. That means that adding files will be a tiny bit slower, but I
doubt it will be noticeable (we need to read the file from disk and
write it to the backend anyway).
2023-07-31 05:59:30 +00:00
..
benches cargo: rename crates from jujutsu/jujutsu-lib to jj-cli/jj-lib 2023-07-09 06:40:43 +02:00
gen-protos gen-protos: make old protoc accept optional fields 2023-07-27 15:32:48 +09:00
src working_copy: treat a missing file state as dirty 2023-07-31 05:59:30 +00:00
tests revset_graph: preserve original parents order 2023-07-29 05:36:09 +09:00
testutils tests: add TestWorkspace::snapshot() to simplify snapshotting 2023-07-28 09:32:18 -07:00
Cargo.toml cargo: bump the cargo-dependencies group with 2 updates 2023-07-27 15:57:54 +00:00