rebase -i -p: add a helper to add mappings for rewritten commits
commit436a8b126a75cef9597ff6f86f40baabbce2e300
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Sun, 25 Jan 2009 20:00:55 +0000 (25 21:00 +0100)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Sun, 7 Feb 2010 21:34:12 +0000 (7 22:34 +0100)
treef208f1d8937dea349f1b5bdfc5500cccad85fd6b
parent8611debf943c0dafcf138d1d759a78085729b8ef
rebase -i -p: add a helper to add mappings for rewritten commits

The function add_rewritten() is supposed to be called just after
a successful commit, with the original commit(s) stored in
"$REWRITTEN"/original.

If the next command is not a squash, "$REWRITTEN"/original is
deleted after adding the mapping.

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