ok/jj
1
0
Fork 0
forked from mirrors/jj
jj/lib
Yuya Nishihara 320d15412b index: let caller of segment-level save-in() squash segments explicitly
There are many unit tests that call mutable_segment.save_in(), but I don't
think these callers expect that the segment file could be squashed depending
on the size. Let's make it caller's responsibility.

maybe_squash_with_ancestors() should be cheap if segment_num_commits() == 0,
so it's okay to call it before checking the emptiness.
2023-12-24 00:22:47 +09:00
..
benches
gen-protos
src index: let caller of segment-level save-in() squash segments explicitly 2023-12-24 00:22:47 +09:00
tests repo: propagate store error from add_heads() 2023-12-24 00:22:30 +09:00
testutils
Cargo.toml lock: remove byteorder dependency from tests, use fs helper functions 2023-12-23 00:14:17 +09:00
LICENSE