diff options
author | Junio C Hamano <gitster@pobox.com> | 2010-10-13 20:20:09 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-10-13 20:20:09 -0700 |
commit | 38a18873b21f6f2eebedc65aff2249fd6ec2168c (patch) | |
tree | 5f7d8cce901a2317a8fbdef7bce2fb85742be1fc /t/t5560-http-backend-noserver.sh | |
parent | 2794ad524462c4e2ecd4573d650e7b4f8da89a5d (diff) | |
parent | 352953a556e7f8d720e26a32d4aabbf823d3c4d4 (diff) | |
download | git-38a18873b21f6f2eebedc65aff2249fd6ec2168c.tar.gz |
Merge branch 'maint'
* maint:
Better advice on using topic branches for kernel development
Documentation: update implicit "--no-index" behavior in "git diff"
Documentation: expand 'git diff' SEE ALSO section
Documentation: diff can compare blobs
Documentation: gitrevisions is in section 7
shell portability: no "export VAR=VAL"
CodingGuidelines: reword parameter expansion section
Documentation: update-index: -z applies also to --index-info
Documentation: No argument of ALLOC_GROW should have side-effects
Diffstat (limited to 't/t5560-http-backend-noserver.sh')
-rwxr-xr-x | t/t5560-http-backend-noserver.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/t/t5560-http-backend-noserver.sh b/t/t5560-http-backend-noserver.sh index 406432e7a5..0ad7ce07c4 100755 --- a/t/t5560-http-backend-noserver.sh +++ b/t/t5560-http-backend-noserver.sh @@ -15,7 +15,7 @@ run_backend() { } GET() { - export REQUEST_METHOD="GET" && + REQUEST_METHOD="GET" && export REQUEST_METHOD && run_backend "/repo.git/$1" && unset REQUEST_METHOD && if ! grep "Status" act.out >act @@ -27,8 +27,8 @@ GET() { } POST() { - export REQUEST_METHOD="POST" && - export CONTENT_TYPE="application/x-$1-request" && + REQUEST_METHOD="POST" && export REQUEST_METHOD && + CONTENT_TYPE="application/x-$1-request" && export CONTENT_TYPE && run_backend "/repo.git/$1" "$2" && unset REQUEST_METHOD && unset CONTENT_TYPE && @@ -47,7 +47,7 @@ log_div() { . "$TEST_DIRECTORY"/t556x_common expect_aliased() { - export REQUEST_METHOD="GET" && + REQUEST_METHOD="GET" && export REQUEST_METHOD && if test $1 = 0; then run_backend "$2" else |