@janl it was less work than expected. Turns out that I could throw away the manual rebase code I wrote and just use `repo.rebase` from libgit2 🙂 that saved a lot of time.
But to be honest, I'm a little bit fixated on that project at the moment 🫣 I do little else currently. So expect dev speed to slow down a lot, I have to get back to regular working for money. Sigh.