Re: [PATCH v3 3/7] t/t2012-checkout-last: test "checkout -" after a rebase

2013-06-19 Thread Ramkumar Ramachandra
Johannes Sixt wrote: > Am 6/19/2013 10:04, schrieb Ramkumar Ramachandra: >> +test_expect_failure '"checkout -" works after a rebase -i A B' ' >> + git branch foodle master~1 && >> + git checkout master && >> + git checkout other && >> + git rebase master foodle && > > git re

Re: [PATCH v3 3/7] t/t2012-checkout-last: test "checkout -" after a rebase

2013-06-19 Thread Johannes Sixt
Am 6/19/2013 10:04, schrieb Ramkumar Ramachandra: > +test_expect_failure '"checkout -" works after a rebase -i A B' ' > + git branch foodle master~1 && > + git checkout master && > + git checkout other && > + git rebase master foodle && git rebase -i master foodle && > +

[PATCH v3 3/7] t/t2012-checkout-last: test "checkout -" after a rebase

2013-06-19 Thread Ramkumar Ramachandra
$ git checkout - does not work as expected after a rebase. This is because the reflog records "checkout" made by "rebase" as its implementation detail the same way as end-user initiated "checkout", and makes it count as the branch that was previously checked out. Add four failing tests documen