Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F426961
DiffusionGitCommitParentsQuery.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
472 B
Referenced Files
None
Subscribers
None
DiffusionGitCommitParentsQuery.php
View Options
<?php
final
class
DiffusionGitCommitParentsQuery
extends
DiffusionCommitParentsQuery
{
protected
function
executeQuery
()
{
$drequest
=
$this
->
getRequest
();
$repository
=
$drequest
->
getRepository
();
list
(
$stdout
)
=
$repository
->
execxLocalCommand
(
'log -n 1 --format=%s %s'
,
'%P'
,
$drequest
->
getStableCommitName
());
$hashes
=
preg_split
(
'/
\s
+/'
,
trim
(
$stdout
));
return
self
::
loadCommitsByIdentifiers
(
$hashes
,
$drequest
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, May 3, 3:39 AM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
58530
Default Alt Text
DiffusionGitCommitParentsQuery.php (472 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment