From 249c61a62d82c22df98cb72ec61c120887b944e1 Mon Sep 17 00:00:00 2001 From: Johannes Schindelin Date: Mon, 9 Jun 2008 22:23:16 +0100 Subject: merge-recursive: respect core.autocrlf when writing out the result The code forgot to convert the blob contents into work tree representation before writing it out. Also fixes leaks -- earlier the updated blobs were never freed. Signed-off-by: Johannes Schindelin Signed-off-by: Junio C Hamano --- t/t6033-merge-crlf.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 't/t6033-merge-crlf.sh') diff --git a/t/t6033-merge-crlf.sh b/t/t6033-merge-crlf.sh index ea22837aa..75d9602de 100755 --- a/t/t6033-merge-crlf.sh +++ b/t/t6033-merge-crlf.sh @@ -42,7 +42,7 @@ test_expect_success 'Check "ours" is CRLF' ' test_cmp file file.temp ' -test_expect_failure 'Check that conflict file is CRLF' ' +test_expect_success 'Check that conflict file is CRLF' ' git reset --hard a && test_must_fail git merge side && cat file | remove_cr | append_cr >file.temp && -- cgit v1.2.1