Re: [PATCH 3/3] rebase: use peel_committish() where appropriate

2013-06-16 Thread Junio C Hamano
Ramkumar Ramachandra writes: > Junio C Hamano wrote: >> You can also specify the commit at the end of the history to be >> rebased (very useful while trial runs to see where a series should >> apply): >> >> git rebase foo ":/Add B" >> >> This is already handled properly because it first gets

Re: [PATCH 3/3] rebase: use peel_committish() where appropriate

2013-06-15 Thread Ramkumar Ramachandra
Junio C Hamano wrote: > You can also specify the commit at the end of the history to be > rebased (very useful while trial runs to see where a series should > apply): > > git rebase foo ":/Add B" > > This is already handled properly because it first gets turned into > an object name $orig_head

Re: [PATCH 3/3] rebase: use peel_committish() where appropriate

2013-06-14 Thread Junio C Hamano
Ramkumar Ramachandra writes: > The revisions specified on the command-line as and > 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. You can also specify the commit at the end of the histo