1
0

update extgitgraph

This commit is contained in:
2020-03-05 18:20:27 +01:00
parent e91fc7b61a
commit a7fe74504b
5 changed files with 59 additions and 10 deletions

View File

@@ -53,6 +53,8 @@ abstract class StandardGitConnection implements IRemoteSource
$repos = $this->listAndUpdateRepositories($db);
$anyChanged = false;
foreach ($repos as $repo)
{
$branches = $this->listAndUpdateBranches($db, $repo);
@@ -83,6 +85,12 @@ abstract class StandardGitConnection implements IRemoteSource
}
if ($repo_changed) $db->setChangeDateOnRepository($repo);
if ($repo_changed) $anyChanged = true;
}
if ($anyChanged)
{
$db->deleteDanglingCommitdata($this->name);
}
$this->postUpdate();