]> khamidou — GitHub mirrors - arcanist.git/commit
Use phutil_console_prompt() instead of PhutilInteractiveEditor for excuses
authorvrana <jakubv@fb.com>
Fri, 25 May 2012 17:52:26 +0000 (10:52 -0700)
committervrana <jakubv@fb.com>
Fri, 25 May 2012 18:42:27 +0000 (11:42 -0700)
commit051cbcb8e9f78abe7d33ca4023f99ebb36c55d74
treef0c7cc3aae865d90dc9e7838fcf0ab23fd2e92b6
parentfed73b75cf6dede164c89fce0e0c85dba3fbeca8
Use phutil_console_prompt() instead of PhutilInteractiveEditor for excuses

Summary:
One line is usually more than enough for these excuses.
The excuse is quite often the same as in past so history is very useful.
Prompting user right below the errors is better than writing them below prompt.

Test Plan:
Produce a lint error.
Provide an empty explanation.
Provide a non-empty explanation.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Koolvin
Differential Revision: https://secure.phabricator.com/D2580
src/workflow/diff/ArcanistDiffWorkflow.php
src/workflow/diff/__init__.php