{"thread":{"id":"44011","subject":"[PATCHv1 3/4] t5550-http-fetch-dumb.sh: use the GIT_TRACE_CURL environment var","startedAt":"2016-09-05T19:19:53Z","lastAt":"2016-09-05T19:19:53Z","messageCount":1,"participants":["Elia Pinto"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"301112","messageId":"20160905191940.13152-1-gitter.spiros@gmail.com","threadId":"44011","inReplyTo":null,"subject":"[PATCHv1 3/4] t5550-http-fetch-dumb.sh: use the GIT_TRACE_CURL environment var","fromName":"Elia Pinto","fromEmail":"gitter.spiros@gmail.com","sentAt":"2016-09-05T19:19:40Z","receivedAt":"2016-09-05T19:19:53Z","isPatch":false,"sender":{"key":"gitter.spiros@gmail.com","avatar":"https://avatars.githubusercontent.com/u/158490?v=4"},"body":"Use the new GIT_TRACE_CURL environment variable instead\nof the deprecated GIT_CURL_VERBOSE.\n\nSigned-off-by: Elia Pinto <gitter.spiros@gmail.com>\n---\nDrop leftover debugging junk from previous patch\n\n t/t5550-http-fetch-dumb.sh | 10 +++++-----\n 1 file changed, 5 insertions(+), 5 deletions(-)\n\ndiff --git a/t/t5550-http-fetch-dumb.sh b/t/t5550-http-fetch-dumb.sh\nindex 3484b6f..dc9b87d 100755\n--- a/t/t5550-http-fetch-dumb.sh\n+++ b/t/t5550-http-fetch-dumb.sh\n@@ -263,15 +263,15 @@ check_language () {\n \t\t>expect\n \t\t;;\n \t?*)\n-\t\techo \"Accept-Language: $1\" >expect\n+\t\techo \"=> Send header: Accept-Language: $1\" >expect\n \t\t;;\n \tesac &&\n-\tGIT_CURL_VERBOSE=1 \\\n+\tGIT_TRACE_CURL=true \\\n \tLANGUAGE=$2 \\\n \tgit ls-remote \"$HTTPD_URL/dumb/repo.git\" >output 2>&1 &&\n \ttr -d '\\015' <output |\n \tsort -u |\n-\tsed -ne '/^Accept-Language:/ p' >actual &&\n+\tsed -ne '/^=> Send header: Accept-Language:/ p' >actual &&\n \ttest_cmp expect actual\n }\n \n@@ -295,8 +295,8 @@ ja;q=0.95, zh;q=0.94, sv;q=0.93, pt;q=0.92, nb;q=0.91, *;q=0.90\" \\\n '\n \n test_expect_success 'git client does not send an empty Accept-Language' '\n-\tGIT_CURL_VERBOSE=1 LANGUAGE= git ls-remote \"$HTTPD_URL/dumb/repo.git\" 2>stderr &&\n-\t! grep \"^Accept-Language:\" stderr\n+\tGIT_TRACE_CURL=true LANGUAGE= git ls-remote \"$HTTPD_URL/dumb/repo.git\" 2>stderr &&\n+\t! grep \"^=> Send header: Accept-Language:\" stderr\n '\n \n stop_httpd\n-- \n2.10.0.308.gf73994d\n\n"}]}