Changeset View
Changeset View
Standalone View
Standalone View
src/applications/diffusion/view/DiffusionCommitGraphView.php
Show First 20 Lines • Show All 608 Lines • ▼ Show 20 Lines | private function newCommitList() { | ||||
if (!$identifiers) { | if (!$identifiers) { | ||||
return array(); | return array(); | ||||
} | } | ||||
$viewer = $this->getViewer(); | $viewer = $this->getViewer(); | ||||
$commits = id(new DiffusionCommitQuery()) | $commits = id(new DiffusionCommitQuery()) | ||||
->setViewer($viewer) | ->setViewer($viewer) | ||||
->withRepositoryPHIDs(array($repository->getPHID())) | ->withRepository($repository) | ||||
->withIdentifiers($identifiers) | ->withIdentifiers($identifiers) | ||||
->needCommitData(true) | ->needCommitData(true) | ||||
->needIdentities(true) | ->needIdentities(true) | ||||
->execute(); | ->execute(); | ||||
return $commits; | return $commits; | ||||
} | } | ||||
Show All 17 Lines |