diff options
author | Junio C Hamano <gitster@pobox.com> | 2007-06-09 13:06:01 +0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-06-09 13:06:01 +0400 |
commit | 89dd19e107455ee680b4d0e027998f0608840fe8 (patch) | |
tree | 16aaba6aab254516118ece37054fca38ad5d1dee /t/t6023-merge-file.sh | |
parent | 66688334375adbc469419692a16857f3cda01a21 (diff) | |
parent | 5771907a5745799c559ff21ccfcabfd21cc23b36 (diff) |
Merge branch 'js/merge'
* js/merge:
git-merge-file: refuse to merge binary files
Diffstat (limited to 't/t6023-merge-file.sh')
-rwxr-xr-x | t/t6023-merge-file.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/t/t6023-merge-file.sh b/t/t6023-merge-file.sh index 43aa5d033d..ecc11c1a84 100755 --- a/t/t6023-merge-file.sh +++ b/t/t6023-merge-file.sh @@ -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 |