From: Jakub Vrana Date: Sat, 23 Mar 2013 00:33:07 +0000 (-0700) Subject: Don't connect to Conduit in `arc feature name` X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=50b4f0af65c3f271137fdd4be58d1e23444ec490;p=arcanist.git Don't connect to Conduit in `arc feature name` Summary: There's no need for having an Internet connection in creating a branch. Test Plan: $ arc feature name # with disabled Internet $ arc feature [cURL/6] (https://secure.phabricator.com/api/conduit.connect) Reviewers: epriestley Reviewed By: epriestley CC: aran, Korvin Differential Revision: https://secure.phabricator.com/D5430 --- diff --git a/src/workflow/ArcanistFeatureWorkflow.php b/src/workflow/ArcanistFeatureWorkflow.php index 5ae1adac..e1601d08 100644 --- a/src/workflow/ArcanistFeatureWorkflow.php +++ b/src/workflow/ArcanistFeatureWorkflow.php @@ -48,7 +48,7 @@ EOTEXT } public function requiresAuthentication() { - return true; + return !$this->getArgument('names'); }