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>
Jeff King committed
Mar 13, 2015 at 00:51 UTC
89c57ab3f0168b192d5ccc159972fdb26e0ba80b
2 files changed
+2
t/lib-httpd.sh
+1
@@ -79,6 +79,7 @@ HTTPD_DOCUMENT_ROOT_PATH=$HTTPD_ROOT_PATH/www
79
# hack to suppress apache PassEnv warnings
80
GIT_VALGRIND=$GIT_VALGRIND; export GIT_VALGRIND
81
GIT_VALGRIND_OPTIONS=$GIT_VALGRIND_OPTIONS; export GIT_VALGRIND_OPTIONS
82
+GIT_TRACE=$GIT_TRACE; export GIT_TRACE
83
84
if ! test -x "$LIB_HTTPD_PATH"
85
then
t/lib-httpd/apache.conf
+1
@@ -70,6 +70,7 @@ PassEnv GIT_VALGRIND
70
PassEnv GIT_VALGRIND_OPTIONS
71
PassEnv GNUPGHOME
72
PassEnv ASAN_OPTIONS
73
+PassEnv GIT_TRACE
74
75
Alias /dumb/ www/
76
Alias /auth/dumb/ www/auth/dumb/