Skip to content

Commit 89c57ab

Browse files
peffgitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 025232e commit 89c57ab

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

t/lib-httpd.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ HTTPD_DOCUMENT_ROOT_PATH=$HTTPD_ROOT_PATH/www
7979
# hack to suppress apache PassEnv warnings
8080
GIT_VALGRIND=$GIT_VALGRIND; export GIT_VALGRIND
8181
GIT_VALGRIND_OPTIONS=$GIT_VALGRIND_OPTIONS; export GIT_VALGRIND_OPTIONS
82+
GIT_TRACE=$GIT_TRACE; export GIT_TRACE
8283

8384
if ! test -x "$LIB_HTTPD_PATH"
8485
then

t/lib-httpd/apache.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ PassEnv GIT_VALGRIND
7070
PassEnv GIT_VALGRIND_OPTIONS
7171
PassEnv GNUPGHOME
7272
PassEnv ASAN_OPTIONS
73+
PassEnv GIT_TRACE
7374

7475
Alias /dumb/ www/
7576
Alias /auth/dumb/ www/auth/dumb/

0 commit comments

Comments
 (0)