From: Ben Alpert Date: Mon, 16 Jun 2014 18:39:31 +0000 (-0700) Subject: Add --no-verify to git commit call for arc patch X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=ee3baade6ebf83bf076dd7587a135870d344a081;p=arcanist.git Add --no-verify to git commit call for arc patch Summary: I can't find an analogous flag for hg. Test Plan: I don't have any precommit hooks set up on my machine so I can't test this easily, but I think this seems pretty harmless? Reviewers: epriestley, #blessed_reviewers Reviewed By: epriestley, #blessed_reviewers Subscribers: epriestley, Korvin Differential Revision: https://secure.phabricator.com/D9523 --- diff --git a/src/workflow/ArcanistPatchWorkflow.php b/src/workflow/ArcanistPatchWorkflow.php index b5533c8e..529045bd 100644 --- a/src/workflow/ArcanistPatchWorkflow.php +++ b/src/workflow/ArcanistPatchWorkflow.php @@ -701,7 +701,7 @@ EOTEXT $commit_message = $this->getCommitMessage($bundle); $future = $repository_api->execFutureLocal( - 'commit -a %C -F -', + 'commit -a %C -F - --no-verify', $author_cmd); $future->write($commit_message); $future->resolvex();