Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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
  • Loading branch information...
commit 6d98ac0e3d4d0b7a3fe2ca435609683065b5e286 1 parent 7650efc
vrana authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/workflow/ArcanistDiffWorkflow.php
2  src/workflow/ArcanistDiffWorkflow.php
View
@@ -1424,7 +1424,7 @@ private function getCommitMessageFromUser() {
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";
Please sign in to comment.
Something went wrong with that request. Please try again.