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

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
This commit is contained in:
epriestley 2015-03-02 08:34:46 -08:00
parent d8182cf55d
commit 4e98454840

View file

@ -930,7 +930,7 @@ abstract class ArcanistWorkflow extends Phobject {
$uncommitted_list); $uncommitted_list);
} }
echo implode("\n\n", $lists); echo implode("\n\n", $lists)."\n";
$all_uncommitted = array_merge($unstaged, $uncommitted); $all_uncommitted = array_merge($unstaged, $uncommitted);
if ($this->askForAdd($all_uncommitted)) { if ($this->askForAdd($all_uncommitted)) {