From: Joshua Spence Date: Sun, 12 Apr 2015 21:21:07 +0000 (+1000) Subject: Trim trailing whitespace from diff hints X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=bf1b30ae26356dd703382c8a6ef77729693d46fc;p=arcanist.git 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 --- diff --git a/src/workflow/ArcanistDiffWorkflow.php b/src/workflow/ArcanistDiffWorkflow.php index 6c62f6dd..d0a918c7 100644 --- a/src/workflow/ArcanistDiffWorkflow.php +++ b/src/workflow/ArcanistDiffWorkflow.php @@ -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";