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

Modernize commit message tips

Summary: Ref T2222. Fully modernizes these tips. No callsites remain for the old methods.

Test Plan: `grep`

Reviewers: btrahan

Reviewed By: btrahan

CC: aran

Maniphest Tasks: T2222

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

+9 -16
+9
src/applications/differential/customfield/DifferentialBranchField.php
··· 42 42 } 43 43 } 44 44 45 + public function getProTips() { 46 + return array( 47 + pht( 48 + 'In Git and Mercurial, use a branch like "T123" to automatically '. 49 + 'associate changes with the corresponding task.'), 50 + ); 51 + } 52 + 53 + 45 54 }
-6
src/applications/differential/field/specification/DifferentialBranchFieldSpecification.php
··· 43 43 return null; 44 44 } 45 45 46 - public function getCommitMessageTips() { 47 - return array( 48 - 'Name branch "T123" to attach the diff to a task.', 49 - ); 50 - } 51 - 52 46 }
-7
src/applications/differential/field/specification/DifferentialDependsOnFieldSpecification.php
··· 47 47 return 'phabricator:depends-on'; 48 48 } 49 49 50 - public function getCommitMessageTips() { 51 - return array( 52 - 'Use "Depends on D123" in your summary to mark '. 53 - 'a dependency between revisions.' 54 - ); 55 - } 56 - 57 50 }
-3
src/applications/differential/field/specification/DifferentialFieldSpecification.php
··· 643 643 return; 644 644 } 645 645 646 - public function getCommitMessageTips() { 647 - return array(); 648 - } 649 646 650 647 651 648 /* -( Loading Additional Data )-------------------------------------------- */