Use --no-patch instead (#14047)

This commit is contained in:
Jellyfrog
2022-06-20 22:59:15 +02:00
committed by GitHub
parent 1056f28de7
commit 5980d9d042

View File

@@ -71,7 +71,7 @@ class Version
{
if ($this->is_git_install) {
$install_dir = base_path();
$version_process = new Process(['git', 'show', '-q', '--pretty=%H|%ct'], $install_dir);
$version_process = new Process(['git', 'show', '--no-patch', '--pretty=%H|%ct'], $install_dir);
$version_process->run();
// failed due to permissions issue