diff --git a/src/workflow/ArcanistDiffWorkflow.php b/src/workflow/ArcanistDiffWorkflow.php --- a/src/workflow/ArcanistDiffWorkflow.php +++ b/src/workflow/ArcanistDiffWorkflow.php @@ -189,22 +189,6 @@ 'allow-untracked' => array( 'help' => pht('Skip checks for untracked files in the working copy.'), ), - 'amend-all' => array( - 'help' => pht( - 'When linting git repositories, amend HEAD with all patches '. - 'suggested by lint without prompting.'), - 'passthru' => array( - 'lint' => true, - ), - ), - 'amend-autofixes' => array( - 'help' => pht( - 'When linting git repositories, amend HEAD with autofix '. - 'patches suggested by lint without prompting.'), - 'passthru' => array( - 'lint' => true, - ), - ), 'add-all' => array( 'short' => 'a', 'help' => pht( @@ -215,10 +199,6 @@ 'help' => pht( 'Emit machine-readable JSON. EXPERIMENTAL! Probably does not work!'), ), - 'no-amend' => array( - 'help' => pht( - 'Never amend commits in the working copy with lint patches.'), - ), 'uncommitted' => array( 'help' => pht('Suppress warning about uncommitted changes.'), 'supports' => array( @@ -1070,10 +1050,6 @@ return false; } - if ($this->getArgument('no-amend')) { - return false; - } - if ($this->getArgument('head') !== null) { return false; }