From 61b0cfac634ca4a779a4d12a9553333e07729f4f Mon Sep 17 00:00:00 2001 From: vrana Date: Tue, 29 May 2012 12:48:31 -0700 Subject: [PATCH] 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 --- src/workflow/diff/ArcanistDiffWorkflow.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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')); } }