Merge branch 'ml/rebase-x-strategy'

* ml/rebase-x-strategy:
  rebase: support -X to pass through strategy options
This commit is contained in:
Junio C Hamano
2010-08-18 12:29:47 -07:00
3 changed files with 39 additions and 1 deletions

View File

@ -74,6 +74,15 @@ test_expect_success 'rebase the other way' '
git rebase --merge side
'
test_expect_success 'rebase -Xtheirs' '
git checkout -b conflicting master~2 &&
echo "AB $T" >> original &&
git commit -mconflicting original &&
git rebase -Xtheirs master &&
grep AB original &&
! grep 11 original
'
test_expect_success 'merge and rebase should match' '
git diff-tree -r test-rebase test-merge >difference &&
if test -s difference