Re: [PATCH 1/5 v2] t7607: use test-lib functions and check MERGE_HEAD
Clemens Buchacher <drizzd@aon.at> writes:
Show 13 quoted lines
> test_expect_success 'will not overwrite untracked file' '
> git reset --hard c1 &&
> - cat important > c2.c &&
> + cp important c2.c &&
> test_must_fail git merge c2 &&
> + test_path_is_missing .git/MERGE_HEAD &&
> test_cmp important c2.c
> '
>
> test_expect_success 'will not overwrite new file' '
> git reset --hard c1 &&
> - cat important > c2.c &&
> + cp important c2.c &&