Merge branch 'js/merge'

* js/merge:
  git-merge-file: refuse to merge binary files
This commit is contained in:
Junio C Hamano
2007-06-09 02:06:01 -07:00
2 changed files with 10 additions and 1 deletions

View File

@ -134,4 +134,9 @@ EOF
test_expect_success "expected conflict markers" "git diff expect out"
test_expect_success 'binary files cannot be merged' '
! git merge-file -p orig.txt ../test4012.png new1.txt 2> merge.err &&
grep "Cannot merge binary files" merge.err
'
test_done