HTTP_COOKIE REMOTE_USER HTTPS REDIRECT_STATUS
HTTP_HOST SERVER_PORT HTTPS HTTP_ACCEPT
REDIRECT_URL} if $config{cgi};
+ push @envsave, qw{GIT_OBJECT_DIRECTORY GIT_QUARANTINE_PATH
+ GIT_ALTERNATE_OBJECT_DIRECTORIES} if $config{test_receive};
my $envsave="";
foreach my $var (@envsave) {
$envsave.=<<"EOF";
if (defined $config{wrapper_background_command} &&
length $config{wrapper_background_command}) {
my $background_command=delete $config{wrapper_background_command};
- $set_background_command=~s/"/\\"/g;
+ $background_command=~s/"/\\"/g;
$set_background_command='#define BACKGROUND_COMMAND "'.$background_command.'"';
}
#include <stdlib.h>
#include <string.h>
#include <sys/file.h>
+#include <sys/wait.h>
extern char **environ;
int newenvironlen=0;