Sfoglia il codice sorgente

stash: skip pre-commit hooks when generating stash commits

Peter Rowlands 4 anni fa
parent
commit
2978b52278
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  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
         )