Problem : The files are copied with 0 bytes on Windows environement. After digging a bit on the code, I fixed the issue by adding double quotes instead of single quotes in the following method:
Git::get_file_contents()
$this->exec("show $path", "> \"$temp\"");
Single quotes don't work in windows.
Problem : The files are copied with 0 bytes on Windows environement. After digging a bit on the code, I fixed the issue by adding double quotes instead of single quotes in the following method: Git::get_file_contents() $this->exec("show $path", "> \"$temp\""); Single quotes don't work in windows.
Cheers