-
Notifications
You must be signed in to change notification settings - Fork 108
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
Pre-commit hook compatibility #164
Comments
Does a manual |
No. When using |
@IdanAdar thanks for the report. I believe this is an issue with the embedded Git, and I suspect I need to patch it to address this properly. What's happening is inside the # Source git-sh-i18n for gettext support.
. "$(git --exec-path)/git-sh-i18n" That's because the output of $ ./git --exec-path
//libexec/git-core This works fine on the command line because Git is installed at a known location, but the embedded Git needs to be "aware" that it's embedded inside a |
Thanks @shiftkey. Hopefully it's an easy fix. I'd like to continue using the client and of course promote it internally... |
@IdanAdar i'm going to move this into |
Thanks. Still hopeful for fast resolution. |
Not sure how well it is going to work but I copied my git-secrets file and pasted into the "C:\Users%username%\AppData\Local\GitHubDesktop\app-2.2.3\resources\app\git\usr\bin" it allowed me to commit like I did before installing git secrets I have not tested if it will prevent uploading secrets yet. |
To expand on the above:
|
My company now requires the use of a detect-secrets tool and a pre-commit step.
After following the instructions and attempting to push a commit, it failed with the following:
The log file shows:
I don't know if the problem is on the GitHub Desktop 1.5.2 beta 0 side, the pre-commit side, the Git side or the Python side. Any clues to resolve this will be much appreciated.
The text was updated successfully, but these errors were encountered: