@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Mark unreachable commits handles as "closed"

Summary:
Ref T9028. Mostly, this gives them a strikethru style.

(I think this is probably the right definition of "closed" for commits. Another definition might be "audited", but I don't think completing audits really "closes" a commit.)

Test Plan: {F1689662}

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T9028

Differential Revision: https://secure.phabricator.com/D16135

+4
+4
src/applications/repository/phid/PhabricatorRepositoryCommitPHIDType.php
··· 46 46 $handle->setFullName($full_name); 47 47 $handle->setURI($commit->getURI()); 48 48 $handle->setTimestamp($commit->getEpoch()); 49 + 50 + if ($commit->isUnreachable()) { 51 + $handle->setStatus(PhabricatorObjectHandle::STATUS_CLOSED); 52 + } 49 53 } 50 54 } 51 55