|
|
@@ -47,10 +47,6 @@ class git
|
|
|
$retval = 0;
|
|
|
$cmd = 'git log --pretty="%H" -n1 ' . $target;
|
|
|
$result = exec($cmd, $output, $retval);
|
|
|
- // Debug temporaire : affiche la commande, le code retour et la sortie
|
|
|
- if (debug::isFile("debug")) {
|
|
|
- echo '<pre style="color:red">CMD: ' . htmlspecialchars($cmd) . "\nRETVAL: $retval\nOUTPUT: " . print_r($output, true) . "\nRESULT: $result</pre>";
|
|
|
- }
|
|
|
return substr(trim($result), 0, 10);
|
|
|
}
|
|
|
|