rebase -i -p: complain when rewritten commits are unreachable from HEAD
commit8979092ade38cd561fe53eb1bd2d838970bee67b
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Sat, 7 Feb 2009 18:28:31 +0000 (7 19:28 +0100)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Sun, 7 Feb 2010 21:55:02 +0000 (7 22:55 +0100)
tree7e04ea8239957433a5e5b84aadea30bcb553d8da
parent251a45623929ddfa91e5667bfcdac5d4e31b3cb1
rebase -i -p: complain when rewritten commits are unreachable from HEAD

It is almost certainly an error if you picked a commit, but it is missing
from the end result.  Most likely, the user missed merging one or more
branches.

In this case, show all commits that were rewritten but which are missing
from the end result, and error out.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
git-rebase--interactive.sh