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 {