Differential D21510 Diff 51199 src/applications/diffusion/conduit/DiffusionHistoryQueryConduitAPIMethod.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/diffusion/conduit/DiffusionHistoryQueryConduitAPIMethod.php
Show First 20 Lines • Show All 58 Lines • ▼ Show 20 Lines | list($stdout) = $repository->execxLocalCommand( | ||||
'log '. | 'log '. | ||||
'--skip=%d '. | '--skip=%d '. | ||||
'-n %d '. | '-n %d '. | ||||
'--pretty=format:%s '. | '--pretty=format:%s '. | ||||
'%s -- %C', | '%s -- %C', | ||||
$offset, | $offset, | ||||
$limit, | $limit, | ||||
'%H:%P', | '%H:%P', | ||||
$commit_range, | gitsprintf('%s', $commit_range), | ||||
// Git omits merge commits if the path is provided, even if it is empty. | // Git omits merge commits if the path is provided, even if it is empty. | ||||
(strlen($path) ? csprintf('%s', $path) : '')); | (strlen($path) ? csprintf('%s', $path) : '')); | ||||
$lines = explode("\n", trim($stdout)); | $lines = explode("\n", trim($stdout)); | ||||
$lines = array_filter($lines); | $lines = array_filter($lines); | ||||
$hash_list = array(); | $hash_list = array(); | ||||
$parent_map = array(); | $parent_map = array(); | ||||
▲ Show 20 Lines • Show All 211 Lines • Show Last 20 Lines |