From: vrana Date: Tue, 29 May 2012 19:48:31 +0000 (-0700) Subject: Shorten excuse prompt in `arc diff` X-Git-Tag: conduit-6~295 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=61b0cfac634ca4a779a4d12a9553333e07729f4f;p=arcanist.git Shorten excuse prompt in `arc diff` Test Plan: `arc diff` on a commit with lint error. Reviewers: epriestley Reviewed By: epriestley CC: aran, Koolvin Differential Revision: https://secure.phabricator.com/D2595 --- diff --git a/src/workflow/diff/ArcanistDiffWorkflow.php b/src/workflow/diff/ArcanistDiffWorkflow.php index 80a460d1..18498c3c 100644 --- a/src/workflow/diff/ArcanistDiffWorkflow.php +++ b/src/workflow/diff/ArcanistDiffWorkflow.php @@ -1120,7 +1120,7 @@ EOTEXT $this->lintExcuse = $this->getArgument('excuse'); } else { $this->lintExcuse = $this->getErrorExcuse( - "Provide an explanation for the lint failures:", + "Explanation:", $repository_api->getScratchFilePath('lint-excuses')); } } @@ -1192,7 +1192,7 @@ EOTEXT $this->unitExcuse = $this->getArgument('excuse'); } else { $this->unitExcuse = $this->getErrorExcuse( - "Provide an explanation for the unit test failures:", + "Explanation:", $repository_api->getScratchFilePath('unit-excuses')); } }