From: vrana Date: Tue, 12 Jun 2012 19:10:51 +0000 (-0700) Subject: Wrap errors in `arc diff` X-Git-Tag: conduit-6~259 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=6d98ac0e3d4d0b7a3fe2ca435609683065b5e286;p=arcanist.git 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 --- 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";