mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-20 04:20:55 +01:00
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
This commit is contained in:
parent
1df84168ef
commit
50331016f7
4 changed files with 9 additions and 16 deletions
|
@ -42,4 +42,13 @@ final class DifferentialBranchField
|
|||
}
|
||||
}
|
||||
|
||||
public function getProTips() {
|
||||
return array(
|
||||
pht(
|
||||
'In Git and Mercurial, use a branch like "T123" to automatically '.
|
||||
'associate changes with the corresponding task.'),
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
|
|
@ -43,10 +43,4 @@ final class DifferentialBranchFieldSpecification
|
|||
return null;
|
||||
}
|
||||
|
||||
public function getCommitMessageTips() {
|
||||
return array(
|
||||
'Name branch "T123" to attach the diff to a task.',
|
||||
);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -47,11 +47,4 @@ final class DifferentialDependsOnFieldSpecification
|
|||
return 'phabricator:depends-on';
|
||||
}
|
||||
|
||||
public function getCommitMessageTips() {
|
||||
return array(
|
||||
'Use "Depends on D123" in your summary to mark '.
|
||||
'a dependency between revisions.'
|
||||
);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -643,9 +643,6 @@ abstract class DifferentialFieldSpecification {
|
|||
return;
|
||||
}
|
||||
|
||||
public function getCommitMessageTips() {
|
||||
return array();
|
||||
}
|
||||
|
||||
|
||||
/* -( Loading Additional Data )-------------------------------------------- */
|
||||
|
|
Loading…
Reference in a new issue