mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-22 05:20:56 +01:00
Minor improvements to PhabricatorRepositoryGitCommitDiscoveryDaemon.php
This commit is contained in:
parent
f224c56b91
commit
71605e1c2d
1 changed files with 2 additions and 1 deletions
|
@ -71,7 +71,6 @@ class PhabricatorRepositoryGitCommitDiscoveryDaemon
|
|||
$parents = array_filter(explode(' ', trim($parents)));
|
||||
foreach ($parents as $parent) {
|
||||
if (!$this->isKnownCommit($parent)) {
|
||||
echo "{$target} has parent {$parent}\n";
|
||||
$discover[] = $parent;
|
||||
$insert[] = $parent;
|
||||
}
|
||||
|
@ -79,6 +78,7 @@ class PhabricatorRepositoryGitCommitDiscoveryDaemon
|
|||
if (empty($discover)) {
|
||||
break;
|
||||
}
|
||||
$this->stillWorking();
|
||||
}
|
||||
|
||||
while (true) {
|
||||
|
@ -110,6 +110,7 @@ class PhabricatorRepositoryGitCommitDiscoveryDaemon
|
|||
if (empty($insert)) {
|
||||
break;
|
||||
}
|
||||
$this->stillWorking();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue