rebase -i: let generate_script output to stdout
commit99e47a2f5dfd6cc2c903574858d24fa1ec79846c
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Sat, 7 Feb 2009 13:28:43 +0000 (7 14:28 +0100)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Sun, 7 Feb 2010 21:45:31 +0000 (7 22:45 +0100)
tree477f8222d19ab1f46a5375ab4639a0373b51259b
parent2e09d5b3024d824c53013f9808bc0dd4dcd742cd
rebase -i: let generate_script output to stdout

That makes it harder to miss a non-redirected output, as we can now call

generate_script > "$TODO"

directly.

This cleanup unfortunately makes it necessary to run rev-list twice in
case that there are commits to be picked.

The impact should be low, though, as the expensive flags are not used
in the first call, and the next call has everything in hot cache.

On the upside, generating a "noop" became much faster ;-)

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