]> khamidou — GitHub mirrors - arcanist.git/commit
Use $EDITOR to prompt users when creating a new commit out of dirty working copy...
authorepriestley <git@epriestley.com>
Sat, 21 Feb 2015 10:37:58 +0000 (02:37 -0800)
committerepriestley <git@epriestley.com>
Sat, 21 Feb 2015 10:37:58 +0000 (02:37 -0800)
commitdd59423d56adf75eeea69d12d04c4ab10fc1b749
tree46a2788c1b9f48560e676748bf85284f90da0f89
parent8f8fe44b05a464410ce2e2a797c96ec1f7d96c81
Use $EDITOR to prompt users when creating a new commit out of dirty working copy changes

Summary:
Fixes T7344.
Currently, we use `phutil_console_prompt()`, which isn't a very good editor. Use the real $EDITOR instead.

100% of the logic here was also a gigantic mess. Clean it up.

Test Plan: Will update in a second with console output from this run.

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Maniphest Tasks: T7344

Differential Revision: https://secure.phabricator.com/D11843
src/internationalization/ArcanistUSEnglishTranslation.php
src/workflow/ArcanistDiffWorkflow.php
src/workflow/ArcanistWorkflow.php