From bf1b30ae26356dd703382c8a6ef77729693d46fc Mon Sep 17 00:00:00 2001 From: Joshua Spence Date: Mon, 13 Apr 2015 07:21:07 +1000 Subject: [PATCH] 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 --- src/workflow/ArcanistDiffWorkflow.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"; -- 2.43.0