I've finally realised that I could make this much simpler with a hook, so I've added a local git hook (.git/hooks/pre-rebase) which contains the following:
#!/bin/sh
git branch before-rebase-`date "+%H%M%S"`
This will add the branch, named something like before-rebase-121451, for you automatically.
It will need manually removing afterwards, once you're happy, but makes it much easier to see where you were if you forgot before you started.
Once you've completed the rebase, you can just select the original commit (indicated by the branch) and compare the differences with the new head commit. It also means you can go back to the pre-rebase commit easily if the result is not what you intended.
[code]
Андрій Дячук # 14/02/17 07:06
">[/center]