mirror of
https://github.com/martinvonz/jj.git
synced 2025-05-27 18:11:12 +00:00
I'm going to add a helper struct to help with rewriting commits. I want to make that struct own the old commit and the new parents to simplify lifetimes. This patch prepares for that by passing the commits by value to `rebase_commit()`.