From f3815c1d1c9c7eca0a3ad4aeed5ed2a8ff8cf3e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20Schw=C3=B6rer?= Date: Tue, 21 Jan 2020 20:47:14 +0100 Subject: [PATCH] update extgitgraph --- www/extern/egg/RemoteSource.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/www/extern/egg/RemoteSource.php b/www/extern/egg/RemoteSource.php index bd58fa8..bc9dbf6 100644 --- a/www/extern/egg/RemoteSource.php +++ b/www/extern/egg/RemoteSource.php @@ -257,7 +257,6 @@ abstract class StandardGitConnection implements IRemoteSource if (count($newcommits) === 0) { $this->logger->proclog("Found no new commits for: [" . $this->name . "|" . $repo->Name . "|" . $branch->Name . "] (HEAD at {" . substr($branch->HeadFromAPI, 0, 8) . "})"); - if ($branch->HeadFromAPI !== $branch->Head) $db->setBranchHead($branch, $branch->HeadFromAPI); return []; } @@ -298,7 +297,7 @@ abstract class StandardGitConnection implements IRemoteSource if (count($newcommits) === 0) { - if ($branch->HeadFromAPI !== $branch->Head) $db->setBranchHead($branch, $branch->HeadFromAPI); + $db->setBranchHead($branch, null); return []; }