From 50b4f0af65c3f271137fdd4be58d1e23444ec490 Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Fri, 22 Mar 2013 17:33:07 -0700 Subject: [PATCH] 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 --- src/workflow/ArcanistFeatureWorkflow.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'); } -- 2.43.0