Fix double shell_exec call during git_tar_tree
Fix double shell_exec call during git_tar_tree

--- a/gitphp.lib.php
+++ b/gitphp.lib.php
@@ -137,7 +137,7 @@
 	$cmd = "env GIT_DIR=" . $proj . " " . $gitphp_conf['gitbin'] . GIT_TAR_TREE . " " . $hash;
 	if ($rname)
 		$cmd .= " " . $rname;
-	return shell_exec($cmd);
+	return $cmd;
 }
 
 function age_string($age)

comments