rebase -i: move the code to write the rebase script into generate_script()
commit2e09d5b3024d824c53013f9808bc0dd4dcd742cd
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Sun, 25 Jan 2009 16:56:26 +0000 (25 17:56 +0100)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Sun, 7 Feb 2010 21:41:24 +0000 (7 22:41 +0100)
tree53a8ed62d0cac18c84b2e932264debbae0dd0199
parentce22989472fa3d8755f26248df0a7388a3f9b21d
rebase -i: move the code to write the rebase script into generate_script()

The code was moved for three reasons:

- document what this particular code does,

- separate it better from the code not involved in generating the script
  (it was intermingled with the code to find the commits dropped by
   --cherry-pick), and

- avoid deep indentation.

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