Changeset View
Changeset View
Standalone View
Standalone View
src/workflow/ArcanistWhichWorkflow.php
Context not available. | |||||
if ($info) { | if ($info) { | ||||
$commits = array(); | $commits = array(); | ||||
foreach ($info as $commit) { | foreach ($info as $commit) { | ||||
$hash = substr($commit['commit'], 0, 16); | $hash = @substr($commit['commit'], 0, 16); | ||||
$summary = $commit['summary']; | $summary = $commit['summary']; | ||||
$commits[] = " {$hash} {$summary}"; | $commits[] = " {$hash} {$summary}"; | ||||
Context not available. | |||||
$explanation = $repository_api->getBaseCommitExplanation(); | $explanation = $repository_api->getBaseCommitExplanation(); | ||||
$relative_summary = $repository_api->getCommitSummary($relative); | $relative_summary = $repository_api->getCommitSummary($relative); | ||||
$relative = substr($relative, 0, 16); | $relative = @substr($relative, 0, 16); | ||||
if ($repository_api instanceof ArcanistGitAPI) { | if ($repository_api instanceof ArcanistGitAPI) { | ||||
$head = $this->getArgument('head', 'HEAD'); | $head = $this->getArgument('head', 'HEAD'); | ||||
Context not available. |
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