rebase: use peel_committish() where appropriate
commit2e6e276decde2a9f04fc29bce734a49d3ba8f484
authorRamkumar Ramachandra <artagnon@gmail.com>
Fri, 14 Jun 2013 13:17:52 +0000 (14 18:47 +0530)
committerJunio C Hamano <gitster@pobox.com>
Fri, 14 Jun 2013 16:41:18 +0000 (14 09:41 -0700)
tree86adfcb9208d50e5b3aa1f59501e945ecf66e7c7
parentbac1ddd0f86bc5955c24f89e402de80d2844efb5
rebase: use peel_committish() where appropriate

The revisions specified on the command-line as <onto> and <upstream>
arguments could be of the form :/quuxery; so, use peel_committish() to
resolve them.  The failing tests in t/rebase and t/rebase-interactive
now pass.

Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-rebase.sh
t/t3400-rebase.sh
t/t3404-rebase-interactive.sh