pre-commit / pre-commit Public
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
doesn't work in visual studio 2019 on Windows #2182
Comments
|
that's odd -- what version of |
|
git version is the latest By the way, when shebang was changed to From above messages, I guessed that Visual Studio 2019 only supports sh. |
|
interesting, does |
|
No. As far as I can see, only |
|
can you try the patch from #2187 ? |
|
It worked fine in visual studio 2019. |
|
yep -- the first one is the only one which matters -- I essentially override the second one |
describe your issue
When I try to commit from visual studio 2019, I get the following message:
I have confirmed that it works from vscode and command prompt.
I rewrote the
.git/hooks/pre-committo below and it worked.As far as I can see, visual studio git hooks only support
sh.Are you aware of this problem?
thank you.
pre-commit --version
pre-commit 2.16.0
.pre-commit-config.yaml
~/.cache/pre-commit/pre-commit.log (if present)
No response
The text was updated successfully, but these errors were encountered: