1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-11-29 10:12:41 +01:00

Trim trailing whitespace from diff hints

Summary: Although these don't do any harm, they show up in my editor which is configured to highlight trailing whitespace.

Test Plan: Submitted this diff... saw no trailing whitespace.

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: Korvin, epriestley

Differential Revision: https://secure.phabricator.com/D12369
This commit is contained in:
Joshua Spence 2015-04-13 07:21:07 +10:00
parent e101496508
commit bf1b30ae26

View file

@ -1605,7 +1605,7 @@ EOTEXT
while (!$done) {
$template = rtrim($template, "\r\n")."\n\n";
foreach ($issues as $issue) {
$template .= '# '.$issue."\n";
$template .= rtrim('# '.$issue)."\n";
}
$template .= "\n";