diff --git a/src/Composer/Compiler.php b/src/Composer/Compiler.php index 311a764ac..e9431636f 100644 --- a/src/Composer/Compiler.php +++ b/src/Composer/Compiler.php @@ -35,7 +35,7 @@ class Compiler unlink($pharFile); } - $process = new Process('git log --pretty="%h" -n1 HEAD', __DIR__); + $process = new Process('git log --pretty="%H" -n1 HEAD', __DIR__); if ($process->run() != 0) { throw new \RuntimeException('Can\'t run git log. You must ensure to run compile from composer git repository clone and that git binary is available.'); }