mirror of
https://github.com/martinvonz/jj.git
synced 2024-12-26 14:00:51 +00:00
dc6c7a98d6
This patch adds a struct that's meant to help when rewriting commits. It contains the old commits and the new parents. I hope to move most of the logic from `rebase_commit_with_options()` onto it in coming patches. Then this type can be passed in a callback to make it easier to do custom rewriting of commits that is currently hard to do because `rebase_descendants()` does not give the caller any control over the process. The helper is similar to `CommmitBuilder`, but it is a bit different by also embedding information about the source commit, so I don't think the API would be as convenient if we just used `CommitBuilder` directly. |
||
---|---|---|
.. | ||
benches | ||
gen-protos | ||
proc-macros | ||
src | ||
tests | ||
testutils | ||
Cargo.toml | ||
LICENSE |