Differential D25098 Diff 407 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 49 Lines • ▼ Show 20 Lines | protected function getGitResult(ConduitAPIRequest $request) { | ||||
if (!strlen($path)) { | if (!strlen($path)) { | ||||
$path = null; | $path = null; | ||||
} | } | ||||
$offset = $request->getValue('offset'); | $offset = $request->getValue('offset'); | ||||
$limit = $request->getValue('limit'); | $limit = $request->getValue('limit'); | ||||
if (strlen($against_hash)) { | if (strlen($against_hash)) { | ||||
$commit_range = "${against_hash}..${commit_hash}"; | $commit_range = "{$against_hash}..{$commit_hash}"; | ||||
} else { | } else { | ||||
$commit_range = $commit_hash; | $commit_range = $commit_hash; | ||||
} | } | ||||
$argv = array(); | $argv = array(); | ||||
$argv[] = '--skip'; | $argv[] = '--skip'; | ||||
$argv[] = $offset; | $argv[] = $offset; | ||||
▲ Show 20 Lines • Show All 230 Lines • Show Last 20 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