Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15463801
D16135.id38820.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.id38820.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
Thu, Apr 3, 3:27 AM (3 w, 1 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7722391
Default Alt Text
D16135.id38820.diff (607 B)
Attached To
Mode
D16135: Mark unreachable commits handles as "closed"
Attached
Detach File
Event Timeline
Log In to Comment