Differential D10585 Diff 25583 src/applications/diffusion/conduit/DiffusionQueryCommitsConduitAPIMethod.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/diffusion/conduit/DiffusionQueryCommitsConduitAPIMethod.php
Show First 20 Lines • Show All 113 Lines • ▼ Show 20 Lines | foreach ($commits as $commit) { | ||||
if ($need_messages) { | if ($need_messages) { | ||||
$dict['message'] = $lowlevel_commitref->getMessage(); | $dict['message'] = $lowlevel_commitref->getMessage(); | ||||
} | } | ||||
foreach ($lowlevel_commitref->getHashes() as $hash) { | foreach ($lowlevel_commitref->getHashes() as $hash) { | ||||
$dict['hashes'][] = array( | $dict['hashes'][] = array( | ||||
'type' => $hash->getHashType(), | 'type' => $hash->getHashType(), | ||||
'value' => $hash->getHashValue()); | 'value' => $hash->getHashValue(), | ||||
); | |||||
} | } | ||||
} | } | ||||
if ($need_messages && !$bypass_cache) { | if ($need_messages && !$bypass_cache) { | ||||
$dict['message'] = $commit_data->getCommitMessage(); | $dict['message'] = $commit_data->getCommitMessage(); | ||||
} | } | ||||
$data[$commit->getPHID()] = $dict; | $data[$commit->getPHID()] = $dict; | ||||
Show All 11 Lines |