diff options
Diffstat (limited to 'dgit-repos-server')
-rwxr-xr-x | dgit-repos-server | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/dgit-repos-server b/dgit-repos-server index 8dd36ae..6e1ec02 100755 --- a/dgit-repos-server +++ b/dgit-repos-server @@ -514,6 +514,9 @@ sub argval () { sub parseargsdispatch () { die unless @ARGV; + delete $ENV{'GIT_DIR'}; # if not run via ssh, our parent git process + delete $ENV{'GIT_PREFIX'}; # sets these and they mess things up + if ($ENV{'DGIT_DRS_DEBUG'}) { $debug='='; open DEBUG, ">&STDERR" or die $!; |