From: epriestley Date: Mon, 2 Mar 2015 16:34:46 +0000 (-0800) Subject: Fix a newline issue in "arc" workflows X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=4e984548404967e8a3b5091ec6d6cd57ddd3c8e3;p=arcanist.git Fix a newline issue in "arc" workflows Summary: We end up with one too few newline here in some workflows, like `arc land` with unstaged changes. Root issue here is that `phutil_console_prompt|confirm` lead with too much whitespace but that's a harder fix. Test Plan: Saw reasonable whitespace. Reviewers: btrahan, chad Reviewed By: chad Subscribers: epriestley Differential Revision: https://secure.phabricator.com/D11927 --- diff --git a/src/workflow/ArcanistWorkflow.php b/src/workflow/ArcanistWorkflow.php index 0b68a293..e0efb972 100644 --- a/src/workflow/ArcanistWorkflow.php +++ b/src/workflow/ArcanistWorkflow.php @@ -930,7 +930,7 @@ abstract class ArcanistWorkflow extends Phobject { $uncommitted_list); } - echo implode("\n\n", $lists); + echo implode("\n\n", $lists)."\n"; $all_uncommitted = array_merge($unstaged, $uncommitted); if ($this->askForAdd($all_uncommitted)) {