]> khamidou — GitHub mirrors - arcanist.git/commitdiff
Shorten excuse prompt in `arc diff`
authorvrana <jakubv@fb.com>
Tue, 29 May 2012 19:48:31 +0000 (12:48 -0700)
committervrana <jakubv@fb.com>
Tue, 29 May 2012 19:59:42 +0000 (12:59 -0700)
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

index 80a460d1834a9c7f48f13e3998d96ab9890ebaa6..18498c3cdd2105ee44c4b2430e4f5c4188281f6c 100644 (file)
@@ -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'));
         }
       }