From 71e6386a73b66591bd6a64433fe427dd87c0c79b Mon Sep 17 00:00:00 2001 From: epriestley Date: Tue, 5 Nov 2013 09:58:58 -0800 Subject: [PATCH] Fix issue with new branch query data getting used incorrectly See --- .../repository/daemon/PhabricatorRepositoryPullLocalDaemon.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/applications/repository/daemon/PhabricatorRepositoryPullLocalDaemon.php b/src/applications/repository/daemon/PhabricatorRepositoryPullLocalDaemon.php index 50ca2fb064..b7e9e0c9f4 100644 --- a/src/applications/repository/daemon/PhabricatorRepositoryPullLocalDaemon.php +++ b/src/applications/repository/daemon/PhabricatorRepositoryPullLocalDaemon.php @@ -750,8 +750,7 @@ final class PhabricatorRepositoryPullLocalDaemon $branches = mpull($branches, 'getHeadCommitIdentifier', 'getName'); $got_something = false; - foreach ($branches as $name => $branch) { - $commit = $branch['rev']; + foreach ($branches as $name => $commit) { if ($this->isKnownCommit($repository, $commit)) { continue; } else {