Merge pull request #19460 from liviuconcioiu/quotes

Add double quotes for Windows
This commit is contained in:
Maurício Meneghini Fauth 2024-12-22 14:35:34 -03:00 committed by GitHub
commit b76b7eef71
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -117,7 +117,7 @@ PHP;
}
$commitDetails = $this->gitCli(
'show -s --pretty=\'tree %T%nparent %P%nauthor %an <%ae> %at%ncommitter %cn <%ce> %ct%n%n%B\''
'show -s --pretty="tree %T%nparent %P%nauthor %an <%ae> %at%ncommitter %cn <%ce> %ct%n%n%B"'
);
if ($commitDetails === null) {
return null;

View File

@ -39,7 +39,7 @@ class WriteGitRevisionCommandTest extends AbstractTestCase
['describe --always'],
['log -1 --format="%H"'],
['symbolic-ref -q HEAD'],
['show -s --pretty=\'tree %T%nparent %P%nauthor %an <%ae> %at%ncommitter %cn <%ce> %ct%n%n%B\'']
['show -s --pretty="tree %T%nparent %P%nauthor %an <%ae> %at%ncommitter %cn <%ce> %ct%n%n%B"']
)
->willReturnOnConsecutiveCalls(
'RELEASE_5_1_0-638-g1c018e2a6c',