diff --git a/framework/core/src/Foundation/Console/InfoCommand.php b/framework/core/src/Foundation/Console/InfoCommand.php index f694a31eb..b42037171 100644 --- a/framework/core/src/Foundation/Console/InfoCommand.php +++ b/framework/core/src/Foundation/Console/InfoCommand.php @@ -116,7 +116,7 @@ class InfoCommand extends AbstractCommand $output = []; $status = null; - exec('git rev-parse HEAD 2> /dev/null', $output, $status); + exec('git rev-parse HEAD 2>&1', $output, $status); chdir($cwd);