Explorar o código

stash: skip pre-commit hooks when generating stash commits

Peter Rowlands %!s(int64=4) %!d(string=hai) anos
pai
achega
2978b52278
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      dulwich/stash.py

+ 2 - 0
dulwich/stash.py

@@ -99,6 +99,7 @@ class Stash(object):
             tree=index_tree_id,
             message=b"Index stash",
             merge_heads=[self._repo.head()],
+            no_verify=True,
             **commit_kwargs
         )
 
@@ -123,6 +124,7 @@ class Stash(object):
             tree=stash_tree_id,
             message=message,
             merge_heads=[index_commit_id],
+            no_verify=True,
             **commit_kwargs
         )