Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F13966651
D16135.id38819.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
607 B
Referenced Files
None
Subscribers
None
D16135.id38819.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D16135: Mark unreachable commits handles as "closed"
Attached
Detach File
Event Timeline
Log In to Comment