Permalink
Browse files

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
  • Loading branch information...
1 parent ba78000 commit 50b4f0af65c3f271137fdd4be58d1e23444ec490 @vrana vrana committed Mar 23, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/workflow/ArcanistFeatureWorkflow.php
@@ -48,7 +48,7 @@ public function requiresRepositoryAPI() {
}
public function requiresAuthentication() {
- return true;
+ return !$this->getArgument('names');
}

0 comments on commit 50b4f0a

Please sign in to comment.