@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.

Allow adding Auditors with the singular noun.

Summary: Currently adding auditors in commit message only works with the plural. Make "Auditor: bla" work.

Test Plan: Unit tests. I don't know if I am supposed to add a test.

Reviewers: #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: joshuaspence, epriestley

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

+1 -1
+1 -1
src/applications/audit/editor/PhabricatorAuditEditor.php
··· 418 418 $message = $data->getCommitMessage(); 419 419 420 420 $matches = null; 421 - if (!preg_match('/^Auditors:\s*(.*)$/im', $message, $matches)) { 421 + if (!preg_match('/^Auditors?:\s*(.*)$/im', $message, $matches)) { 422 422 return array(); 423 423 } 424 424