mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-29 18:22:41 +01:00
check commit before calling its method
Summary: it's calling pull daemon's failure. This is actually Nick's fix. Test Plan: Nick already manually ran it on daemon machine. Reviewers: vrana, nh Reviewed By: vrana CC: aran, epriestley Differential Revision: https://secure.phabricator.com/D2828
This commit is contained in:
parent
9444bfa861
commit
06c976b738
1 changed files with 4 additions and 0 deletions
|
@ -264,6 +264,10 @@ final class PhabricatorRepositoryPullLocalDaemon
|
||||||
$repository->getID(),
|
$repository->getID(),
|
||||||
$target);
|
$target);
|
||||||
|
|
||||||
|
if (!$commit) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
$data = $commit->loadCommitData();
|
$data = $commit->loadCommitData();
|
||||||
if (!$data) {
|
if (!$data) {
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in a new issue