mirror of
https://github.com/martinvonz/jj.git
synced 2025-02-06 03:22:59 +00:00
7461370f6e
The next commit will change these maps to store Option<RefTarget> entries, but None entries will still be omitted from the serialized data. Since ContentHash should describe the serialized data, relying on the generic ContentHash would cause future hash conflict where absent RefTarget entries will be preserved. For example, ([remove], [None, add]) will be serialized as ([remove], [add]), and deserialized to ([remove], [add, None]). If we add support for lossless serialization, hash(([remove], [None, add])) should differ from the lossy one. |
||
---|---|---|
.. | ||
benches | ||
gen-protos | ||
src | ||
tests | ||
testutils | ||
Cargo.toml |