rebase-i-p: use HEAD for updating the ref instead of mapping OLDHEAD
authorStephen Haberman <stephen@exigencecorp.com>
Wed, 15 Oct 2008 07:44:35 +0000 (02:44 -0500)
committerJunio C Hamano <gitster@pobox.com>
Thu, 16 Oct 2008 16:23:53 +0000 (09:23 -0700)
commit72583e6c685a85b9354ee2310cec3d9240df3c0f
treee348ea65dcaeda63c3c2b5514da0df9861a5dfce
parent42f939e4735bc144e1767395e84cffb1bd805a1c
rebase-i-p: use HEAD for updating the ref instead of mapping OLDHEAD

If OLDHEAD was reordered in the todo, and its mapped NEWHEAD was used to set the
ref, commits reordered after OLDHEAD in the todo would should up as un-committed
changes.

Signed-off-by: Stephen Haberman <stephen@exigencecorp.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-rebase--interactive.sh