mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 00:04:42 +04:00
Add support for commit-msg git hook
This commit is contained in:
parent
a6a4762f0d
commit
d0b268c813
9 changed files with 107 additions and 57 deletions
|
|
@ -23,8 +23,7 @@ from testing.util import get_resource_path
|
|||
|
||||
def git_dir(tempdir_factory):
|
||||
path = tempdir_factory.get()
|
||||
with cwd(path):
|
||||
cmd_output('git', 'init')
|
||||
cmd_output('git', 'init', path)
|
||||
return path
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue