1
0
Fork 0
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:
epriestley 2016-06-13 10:10:58 -07:00
parent f56f1b05c0
commit a5e29f3ffa

View file

@ -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) {