rebase -i -p: refactor the preparation for -p into its own function
commite62ee09f631c3e29f6d773b8998f3d69f9b59681
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Sun, 25 Jan 2009 17:25:34 +0000 (25 18:25 +0100)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Sun, 7 Feb 2010 21:48:26 +0000 (7 22:48 +0100)
tree95c18fa77feab3eb4cfd36982b52fb60923ec0bc
parent99e47a2f5dfd6cc2c903574858d24fa1ec79846c
rebase -i -p: refactor the preparation for -p into its own function

This is another cleanup to make the code more readable: it separates
the parts that handle the initializations necessary for -p from the
rest.

They cannot be put into a single function, as part of the intialization
has to be performed before generating the rebase script, and another
part uses the rebase script to determine which commits will be picked,
and therefore has to be called when the rebase script exists
already.

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