]> khamidou — GitHub mirrors - arcanist.git/commit
Always include 'workflow' on Arcanist events
authorepriestley <git@epriestley.com>
Tue, 4 Sep 2012 19:08:04 +0000 (12:08 -0700)
committerepriestley <git@epriestley.com>
Tue, 4 Sep 2012 19:08:04 +0000 (12:08 -0700)
commita802a901230cfffff9dea4826d57b433300f2d29
treed0e7b6aa56ce05e47085094ec183c70fa81e27f9
parentb0cfe9d94d38f0ae7f2b3dedc4f7290a9a000069
Always include 'workflow' on Arcanist events

Summary:
This object is highly useful in many client event handlers (particularly for access to the CLI) and allows them to be implemented less intrusively.

This also slightly reduces code duplication.

Test Plan: Ran "arc diff".

Reviewers: vrana, btrahan

Reviewed By: vrana

CC: aran
Maniphest Tasks: T1753

Differential Revision: https://secure.phabricator.com/D3421
src/workflow/ArcanistBaseWorkflow.php
src/workflow/ArcanistCommitWorkflow.php
src/workflow/ArcanistDiffWorkflow.php