mirror of
https://we.phorge.it/source/phorge.git
synced 2025-01-18 10:41:08 +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');
|
$branches = mpull($branches, 'getHeadCommitIdentifier', 'getName');
|
||||||
|
|
||||||
$got_something = false;
|
$got_something = false;
|
||||||
foreach ($branches as $name => $branch) {
|
foreach ($branches as $name => $commit) {
|
||||||
$commit = $branch['rev'];
|
|
||||||
if ($this->isKnownCommit($repository, $commit)) {
|
if ($this->isKnownCommit($repository, $commit)) {
|
||||||
continue;
|
continue;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue