rebase: do not get confused in fast-forward situation.
authorJunio C Hamano <junkio@cox.net>
Wed, 14 Dec 2005 11:11:37 +0000 (03:11 -0800)
committerJunio C Hamano <junkio@cox.net>
Wed, 14 Dec 2005 21:04:25 +0000 (13:04 -0800)
commit2db8aaeca1dca4e940829b87d1164e5b42ff49b4
treef164bcafc5a3b0cb450cefcc1111bb2671c91aee
parentb0d3e9baaa16c805ef941e8f26d55fb23f091ef5
rebase: do not get confused in fast-forward situation.

When switching to another branch and rebasing it in a one-go, it
failed to update the variable that holds the branch head, and
did not detect fast-forward situation correctly.

Signed-off-by: Junio C Hamano <junkio@cox.net>
git-rebase.sh