Use shutil.copy2 instead of shutil.copyfile for git_helper.py
Probably fixes #541
This commit is contained in:
parent
930fb331db
commit
36cf1c3179
|
|
@ -83,7 +83,7 @@ def install_hooks():
|
||||||
|
|
||||||
for filename in os.listdir(str(hooks_source_dir)):
|
for filename in os.listdir(str(hooks_source_dir)):
|
||||||
print("Copying hook {}".format(filename))
|
print("Copying hook {}".format(filename))
|
||||||
shutil.copyfile(str(hooks_source_dir/filename),
|
shutil.copy2(str(hooks_source_dir/filename),
|
||||||
str(hooks_target_dir/filename))
|
str(hooks_target_dir/filename))
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue