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:
parent
a119eb2303
commit
71e6386a73
1 changed files with 1 additions and 2 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue