mirror of
https://we.phorge.it/source/phorge.git
synced 2025-01-10 14:51:06 +01:00
Correct a straggling CLI format string after ref selector changes
Summary: Ref T13589. This is missing a "%s" conversion. Test Plan: Will view a commit with a diff. Maniphest Tasks: T13589 Differential Revision: https://secure.phabricator.com/D21512
This commit is contained in:
parent
0e28105ff7
commit
e7e8ef7e39
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ final class DiffusionGitRawDiffQuery extends DiffusionRawDiffQuery {
|
||||||
// Check if this is the root commit by seeing if it has parents, since
|
// Check if this is the root commit by seeing if it has parents, since
|
||||||
// `git diff X^ X` does not work if "X" is the initial commit.
|
// `git diff X^ X` does not work if "X" is the initial commit.
|
||||||
list($parents) = $repository->execxLocalCommand(
|
list($parents) = $repository->execxLocalCommand(
|
||||||
'log -n 1 %s --',
|
'log -n 1 %s %s --',
|
||||||
'--format=%P',
|
'--format=%P',
|
||||||
gitsprintf('%s', $commit));
|
gitsprintf('%s', $commit));
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue