Issue while trying to commit - "repo.index.commit" #1183
-
I can see a similar open issue but it relates to post-commit, hence adding this. Traceback (most recent call last): The above exception was the direct cause of the following exception: Traceback (most recent call last): |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
---------------pre- commit file -------------- #!/bin/sh HOOKS_DIR=$(dirname $0) acn_git_hooks_deploy_id XXXXexport CONFIG_DIRECTORY='C:/Users/XXXX/.acn-security-tools/config' |
Beta Was this translation helpful? Give feedback.
-
As shown by Fixing this would be possible and a PR is certainly welcome. |
Beta Was this translation helpful? Give feedback.
As shown by
File "C:\Python37\lib\subprocess.py", line 1207, in _execute_child
subprocess is used to execute hooks. On windows, this probably doesn't include shellscripts.Fixing this would be possible and a PR is certainly welcome.
Please feel free to keep commenting on the closed issue for follow-ups.