diff --git a/src/workflow/ArcanistLintWorkflow.php b/src/workflow/ArcanistLintWorkflow.php index bf2c84e2..02909515 100644 --- a/src/workflow/ArcanistLintWorkflow.php +++ b/src/workflow/ArcanistLintWorkflow.php @@ -481,7 +481,7 @@ EOTEXT if ($amend) { if ($repository_api instanceof ArcanistGitAPI) { // Add the changes to the index before amending - $repository_api->execxLocal('add -A'); + $repository_api->execxLocal('add -u'); } $repository_api->amendCommit();