mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-26 08:42: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(),
|
||||
$target);
|
||||
|
||||
if (!$commit) {
|
||||
return false;
|
||||
}
|
||||
|
||||
$data = $commit->loadCommitData();
|
||||
if (!$data) {
|
||||
return false;
|
||||
|
|
Loading…
Reference in a new issue