mirror of
https://github.com/martinvonz/jj.git
synced 2025-01-16 09:11:55 +00:00
d62cc15ff0
It's the transaction's job to create a new operation, and that's where the knowledge of parent operations is. By moving the logic for merging in another operation there, we can make it contiuously update its set of parent operations. That removes the risk of forgetting to add the merged-in operation as a parent. It also makes it easier to reuse the function from the CLI so we can inform the user about the process (which is what I was investigating when I noticed that this cleanup was possible). |
||
---|---|---|
.. | ||
protos | ||
src | ||
tests | ||
build.rs | ||
Cargo.toml |