1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-01-03 11:21:01 +01:00

Fix issue with new branch query data getting used incorrectly

See <https://github.com/facebook/phabricator/issues/429>
This commit is contained in:
epriestley 2013-11-05 09:58:58 -08:00
parent a119eb2303
commit 71e6386a73

View file

@ -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 {