mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-22 06:42:41 +01:00
Fix arcanist shell completion
Summary: Fixes T8560. Test Plan: Ran `arc shell-complete` outside of a working copy. Reviewers: avivey, #blessed_reviewers, epriestley Reviewed By: avivey, #blessed_reviewers, epriestley Subscribers: avivey, epriestley, Korvin Maniphest Tasks: T8560 Differential Revision: https://secure.phabricator.com/D13338
This commit is contained in:
parent
3414cbeda5
commit
f06eea0d84
2 changed files with 5 additions and 2 deletions
|
@ -84,6 +84,9 @@ EOTEXT
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$workflow->setArcanistConfiguration($this->getArcanistConfiguration());
|
||||||
|
$workflow->setConfigurationManager($this->getConfigurationManager());
|
||||||
|
|
||||||
if ($vcs || $workflow->requiresWorkingCopy()) {
|
if ($vcs || $workflow->requiresWorkingCopy()) {
|
||||||
$supported_vcs = $workflow->getSupportedRevisionControlSystems();
|
$supported_vcs = $workflow->getSupportedRevisionControlSystems();
|
||||||
if (!in_array($vcs, $supported_vcs)) {
|
if (!in_array($vcs, $supported_vcs)) {
|
||||||
|
|
|
@ -53,8 +53,8 @@ abstract class ArcanistWorkflow extends Phobject {
|
||||||
private $repositoryAPI;
|
private $repositoryAPI;
|
||||||
private $configurationManager;
|
private $configurationManager;
|
||||||
private $workingCopy;
|
private $workingCopy;
|
||||||
private $arguments;
|
private $arguments = array();
|
||||||
private $passedArguments;
|
private $passedArguments = array();
|
||||||
private $command;
|
private $command;
|
||||||
|
|
||||||
private $stashed;
|
private $stashed;
|
||||||
|
|
Loading…
Reference in a new issue