]> khamidou — GitHub mirrors - arcanist.git/commitdiff
Add --no-verify to git commit call for arc patch
authorBen Alpert <spicyjalapeno@gmail.com>
Mon, 16 Jun 2014 18:39:31 +0000 (11:39 -0700)
committerepriestley <git@epriestley.com>
Mon, 16 Jun 2014 18:39:58 +0000 (11:39 -0700)
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

src/workflow/ArcanistPatchWorkflow.php

index b5533c8e8bf88ba83172f313338bc1856949dc41..529045bdda09b274c0d7add49cf8b47f65f59c27 100644 (file)
@@ -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();