Page MenuHomePhabricator

D16135.id38819.diff
No OneTemporary

D16135.id38819.diff

diff --git a/src/applications/repository/phid/PhabricatorRepositoryCommitPHIDType.php b/src/applications/repository/phid/PhabricatorRepositoryCommitPHIDType.php
--- a/src/applications/repository/phid/PhabricatorRepositoryCommitPHIDType.php
+++ b/src/applications/repository/phid/PhabricatorRepositoryCommitPHIDType.php
@@ -46,6 +46,10 @@
$handle->setFullName($full_name);
$handle->setURI($commit->getURI());
$handle->setTimestamp($commit->getEpoch());
+
+ if ($commit->isUnreachable()) {
+ $handle->setStatus(PhabricatorObjectHandle::STATUS_CLOSED);
+ }
}
}

File Metadata

Mime Type
text/plain
Expires
Oct 17 2024, 8:57 AM (4 w, 5 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6721455
Default Alt Text
D16135.id38819.diff (607 B)

Event Timeline