aboutsummaryrefslogtreecommitdiff
path: root/t/lib-httpd.sh
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2015-03-13 00:51:15 -0400
committerJunio C Hamano <gitster@pobox.com>2015-03-12 23:25:06 -0700
commit89c57ab3f0168b192d5ccc159972fdb26e0ba80b (patch)
tree233dc2aae54fc3f8ee7a0eb2b9b910f27e712d74 /t/lib-httpd.sh
parent025232e8aa4b56d450079528fcfbff53da3e7fa4 (diff)
downloadgit-89c57ab3f0168b192d5ccc159972fdb26e0ba80b.tar.gz
git-89c57ab3f0168b192d5ccc159972fdb26e0ba80b.tar.xz
t: pass GIT_TRACE through Apache
Apache removes GIT_TRACE from the environment before running git-http-backend. This can make it hard to debug the server side of an http session. Let's let it through. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/lib-httpd.sh')
-rw-r--r--t/lib-httpd.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/lib-httpd.sh b/t/lib-httpd.sh
index d154d1ed1..e6adf2f82 100644
--- a/t/lib-httpd.sh
+++ b/t/lib-httpd.sh
@@ -79,6 +79,7 @@ HTTPD_DOCUMENT_ROOT_PATH=$HTTPD_ROOT_PATH/www
# hack to suppress apache PassEnv warnings
GIT_VALGRIND=$GIT_VALGRIND; export GIT_VALGRIND
GIT_VALGRIND_OPTIONS=$GIT_VALGRIND_OPTIONS; export GIT_VALGRIND_OPTIONS
+GIT_TRACE=$GIT_TRACE; export GIT_TRACE
if ! test -x "$LIB_HTTPD_PATH"
then