From 6d98ac0e3d4d0b7a3fe2ca435609683065b5e286 Mon Sep 17 00:00:00 2001 From: vrana Date: Tue, 12 Jun 2012 12:10:51 -0700 Subject: [PATCH] Wrap errors in `arc diff` Test Plan: Add invalid reviewer in `arc diff`. Reviewers: epriestley Reviewed By: epriestley CC: aran, Korvin Differential Revision: https://secure.phabricator.com/D2727 --- 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 ea135461..14c5222f 100644 --- a/src/workflow/ArcanistDiffWorkflow.php +++ b/src/workflow/ArcanistDiffWorkflow.php @@ -1424,7 +1424,7 @@ EOTEXT echo "Commit message has errors:\n\n"; $issues = array('Resolve these errors:'); foreach ($ex->getParserErrors() as $error) { - echo " - ".$error."\n"; + echo phutil_console_wrap("- ".$error."\n", 6); $issues[] = ' - '.$error; } echo "\n";