Browse Source

added debug message

pull/24/head
Teknikode 8 years ago
parent
commit
49a8753595
  1. 4
      includes/Git.php

4
includes/Git.php

@ -282,11 +282,13 @@ class GitRepo { @@ -282,11 +282,13 @@ class GitRepo {
$env = NULL;
foreach($this->envopts as $k => $v) {
putenv(sprintf("%s=%s",$k,$v));
echo $k.": ".$v;
}
} else {
$env = array_merge($_ENV, $this->envopts);
}
foreach($env as $k => $v) {
echo $k.": ".$v;
}
$cwd = $this->repo_path;
$resource = proc_open($command, $descriptorspec, $pipes, $cwd, $env);
$stdout = stream_get_contents($pipes[1]);

Loading…
Cancel
Save