error: The following untracked working tree files would be overwritten by checkout:
sub/added
sub/addedtoo
- Please move or remove them before you can switch branches.
+ Please move or remove them before you switch branches.
Aborting
EOF
- test_cmp expected actual
+ test_i18ncmp expected actual
'
test_expect_success 'checkout without --ignore-skip-worktree-bits' '
error: The following untracked working tree files would be overwritten by merge:
sub
sub2
- Please move or remove them before you can merge.
+ Please move or remove them before you merge.
Aborting
EOF
cp important sub &&
cp important sub2 &&
test_must_fail git merge sub 2>out &&
- test_cmp out expect &&
+ test_i18ncmp out expect &&
test_path_is_missing .git/MERGE_HEAD &&
test_cmp important sub &&
test_cmp important sub2 &&