{"thread":{"id":"19295","subject":"(unknown)","startedAt":"2009-05-11T18:57:12Z","lastAt":"2009-05-11T18:57:12Z","messageCount":1,"participants":["Don Slutz"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"113563","messageId":"200905111857.n4BIvC7S002321@krl.krl.com","threadId":"19295","inReplyTo":null,"subject":"(unknown)","fromName":"Don Slutz","fromEmail":"slutz@krl.com","sentAt":"2009-05-11T18:57:12Z","receivedAt":"2009-05-11T18:57:12Z","isPatch":false,"sender":{"key":"slutz@krl.com","avatar":null},"body":">From d60f6f2fdfcdc5cbbd468992ccbc56438fe0e149 Mon Sep 17 00:00:00 2001\nFrom: Don Slutz <Don.Slutz@SierraAtlantic.com>\nDate: Mon, 11 May 2009 12:16:55 -0400\nSubject: [PATCH 4/6] Fix tests to work with core.autocrlf=true\n\nForce core.autocrlf=false for these tests.  Most of these tests are checking\nfor whitespace differences and so are not simple to fix.  The rest are not\nclear how to fix.\n\nSigned-off-by: Don Slutz <Don.Slutz@SierraAtlantic.com>\n---\n t/t1002-read-tree-m-u-2way.sh |    3 ++-\n t/t4015-diff-whitespace.sh    |    2 ++\n t/t4019-diff-wserror.sh       |    1 +\n t/t4116-apply-reverse.sh      |    1 +\n t/t4200-rerere.sh             |    2 ++\n 5 files changed, 8 insertions(+), 1 deletions(-)\n\ndiff --git a/t/t1002-read-tree-m-u-2way.sh b/t/t1002-read-tree-m-u-2way.sh\nindex 5e40cec..acc9474 100755\n--- a/t/t1002-read-tree-m-u-2way.sh\n+++ b/t/t1002-read-tree-m-u-2way.sh\n@@ -37,7 +37,8 @@ check_cache_at () {\n \n test_expect_success \\\n     setup \\\n-    'echo frotz >frotz &&\n+    'git config core.autocrlf false &&\n+     echo frotz >frotz &&\n      echo nitfol >nitfol &&\n      echo bozbar >bozbar &&\n      echo rezrov >rezrov &&\ndiff --git a/t/t4015-diff-whitespace.sh b/t/t4015-diff-whitespace.sh\nindex 6d13da3..122557e 100755\n--- a/t/t4015-diff-whitespace.sh\n+++ b/t/t4015-diff-whitespace.sh\n@@ -9,6 +9,8 @@ test_description='Test special whitespace in diff engine.\n . ./test-lib.sh\n . \"$TEST_DIRECTORY\"/diff-lib.sh\n \n+test_expect_success \"setup\" 'git config core.autocrlf false'\n+\n # Ray Lehtiniemi's example\n \n cat << EOF > x\ndiff --git a/t/t4019-diff-wserror.sh b/t/t4019-diff-wserror.sh\nindex 84a1fe3..a580403 100755\n--- a/t/t4019-diff-wserror.sh\n+++ b/t/t4019-diff-wserror.sh\n@@ -6,6 +6,7 @@ test_description='diff whitespace error detection'\n \n test_expect_success setup '\n \n+\tgit config core.autocrlf false &&\n \tgit config diff.color.whitespace \"blue reverse\" &&\n \t>F &&\n \tgit add F &&\ndiff --git a/t/t4116-apply-reverse.sh b/t/t4116-apply-reverse.sh\nindex 2298ece..a846be6 100755\n--- a/t/t4116-apply-reverse.sh\n+++ b/t/t4116-apply-reverse.sh\n@@ -11,6 +11,7 @@ test_description='git apply in reverse\n \n test_expect_success setup '\n \n+\tgit config core.autocrlf false &&\n \tfor i in a b c d e f g h i j k l m n; do echo $i; done >file1 &&\n \tperl -pe \"y/ijk/\\\\000\\\\001\\\\002/\" <file1 >file2 &&\n \ndiff --git a/t/t4200-rerere.sh b/t/t4200-rerere.sh\nindex a6bc028..5e6cc82 100755\n--- a/t/t4200-rerere.sh\n+++ b/t/t4200-rerere.sh\n@@ -8,6 +8,8 @@ test_description='git rerere\n \n . ./test-lib.sh\n \n+git config core.autocrlf false\n+\n cat > a1 << EOF\n Some title\n ==========\n-- \n1.6.3.15.g49878\n"}]}