]> khamidou — GitHub mirrors - arcanist.git/commitdiff
Allow --verbatim and -m in arc diff
authorNick Harper <nharper@fb.com>
Mon, 7 May 2012 23:11:15 +0000 (16:11 -0700)
committerNick Harper <nharper@fb.com>
Tue, 8 May 2012 00:32:21 +0000 (17:32 -0700)
Summary:
There's no reason these should be exclusive: -m is used only on update for the
update message, and --verbatim doesn't affect the udpate message. It's also
useful to allow both of these, if say I want to update my test plan by editing
my git commit message and also provide a message for the update from the
command line.

Test Plan:
ran arc diff with --verbatim and -m and saw my message from -m was used, as
well as my updates in the commit message went through.

Reviewers: jungejason, epriestley, vrana

Reviewed By: epriestley

CC: aran, Koolvin
Differential Revision: https://secure.phabricator.com/D2426

src/workflow/diff/ArcanistDiffWorkflow.php

index 44d0019b92ebdb308c9b803c63de05ecdc5c5e5d..034778b3870740a1df4c2ecafe65a4ab2df52bb8 100644 (file)
@@ -315,7 +315,6 @@ EOTEXT
           'preview'             => true,
           'raw'                 => true,
           'raw-command'         => true,
-          'message'             => true,
           'message-file'        => true,
         ),
       ),