mirror of
https://github.com/martinvonz/jj.git
synced 2024-12-28 23:55:54 +00:00
27293829d6
It can be useful to write an operation to the `OpStore` without also making it visible when you load the repo. I had planned to add that functionality at least for hooks, so the hooks can be run commands with `jj --at-op=<operation>` and decide whether to publish the operation. However, the immediate goal is to let us rewrite `op_heads_store::merge_op_heads()` to use the usual `Transaction` API. That needs to be able to just write the operation without publishing it, since the publishing step takes a long, which `op_heads_store::merge_op_heads()` (its caller, actually) has already taken. |
||
---|---|---|
.. | ||
protos | ||
src | ||
tests | ||
build.rs | ||
Cargo.toml |