mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-19 13:22:42 +01:00
Fix an ancient ad-hoc string truncation
Summary: Fixes T11139. We missed this years ago when we moved to PhutilUTF8StringTruncator. Test Plan: {F1686072} Reviewers: chad Reviewed By: chad Maniphest Tasks: T11139 Differential Revision: https://secure.phabricator.com/D16105
This commit is contained in:
parent
f56f1b05c0
commit
a5e29f3ffa
1 changed files with 1 additions and 3 deletions
|
@ -113,9 +113,7 @@ final class DiffusionPathChange extends Phobject {
|
|||
if (!$this->getCommitData()) {
|
||||
return null;
|
||||
}
|
||||
$message = $this->getCommitData()->getCommitMessage();
|
||||
$first = idx(explode("\n", $message), 0);
|
||||
return substr($first, 0, 80);
|
||||
return $this->getCommitData()->getSummary();
|
||||
}
|
||||
|
||||
public static function convertToArcanistChanges(array $changes) {
|
||||
|
|
Loading…
Reference in a new issue