1
0
Fork 0
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:
epriestley 2011-03-07 22:16:53 -08:00
parent f224c56b91
commit 71605e1c2d

View file

@ -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();
}
}