Changeset View
Changeset View
Standalone View
Standalone View
src/ref/commit/ArcanistGitCommitSymbolCommitHardpointQuery.php
Show First 20 Lines • Show All 75 Lines • ▼ Show 20 Lines | foreach ($symbol_map as $key => $symbol) { | ||||
$results[$key] = $hash_map[$symbol]; | $results[$key] = $hash_map[$symbol]; | ||||
} | } | ||||
foreach ($results as $key => $result) { | foreach ($results as $key => $result) { | ||||
if ($result === null) { | if ($result === null) { | ||||
continue; | continue; | ||||
} | } | ||||
$ref = id(new ArcanistCommitRef()) | $ref = (new ArcanistCommitRef()) | ||||
->setCommitHash($result); | ->setCommitHash($result); | ||||
$results[$key] = $ref; | $results[$key] = $ref; | ||||
} | } | ||||
yield $this->yieldMap($results); | yield $this->yieldMap($results); | ||||
} | } | ||||
Show All 11 Lines |
Content licensed under Creative Commons Attribution-ShareAlike 4.0 (CC-BY-SA) unless otherwise noted; code licensed under Apache 2.0 or other open source licenses. · CC BY-SA 4.0 · Apache 2.0