]> khamidou — GitHub mirrors - arcanist.git/commitdiff
Prevent caching of workflows
authorBurak Yigit Kaya <ben@byk.im>
Tue, 15 Sep 2015 12:23:52 +0000 (05:23 -0700)
committerepriestley <git@epriestley.com>
Tue, 15 Sep 2015 12:24:01 +0000 (05:24 -0700)
Summary: Fixes T9159.

Test Plan: Run `arc patch` on a code base requiring auth for a diff that has at least one dependency.

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: avivey, thoughtpolice, joshuaspence, Korvin

Maniphest Tasks: T9159

Differential Revision: https://secure.phabricator.com/D14034

src/configuration/ArcanistConfiguration.php

index 91d0dc65c79ac669fabde746abfc39c3f7b93a27..e66b79362121e4a2cacf7c3237573a5373f115e6 100644 (file)
@@ -31,7 +31,7 @@ class ArcanistConfiguration extends Phobject {
       $command = 'version';
     }
 
-    return idx($this->buildAllWorkflows(), $command);
+    return clone idx($this->buildAllWorkflows(), $command);
   }
 
   public function buildAllWorkflows() {