Changeset View
Changeset View
Standalone View
Standalone View
src/workflow/ArcanistGitHookPreReceiveWorkflow.php
<?php | <?php | ||||
/** | /** | ||||
* Installable as a git pre-receive hook. | * Installable as a git pre-receive hook. | ||||
*/ | */ | ||||
final class ArcanistGitHookPreReceiveWorkflow extends ArcanistBaseWorkflow { | final class ArcanistGitHookPreReceiveWorkflow extends ArcanistWorkflow { | ||||
public function getWorkflowName() { | public function getWorkflowName() { | ||||
return 'git-hook-pre-receive'; | return 'git-hook-pre-receive'; | ||||
} | } | ||||
public function getCommandSynopses() { | public function getCommandSynopses() { | ||||
return phutil_console_format(<<<EOTEXT | return phutil_console_format(<<<EOTEXT | ||||
**git-hook-pre-receive** | **git-hook-pre-receive** | ||||
▲ Show 20 Lines • Show All 107 Lines • Show Last 20 Lines |