-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Options --files-at-commit and --commit results in error #515
Comments
could this be related? since it's related to git, and go-git is used in the code? (I don't code Go myself, so I can't patch it :-/ ) |
I'm getting the same error; the last 40-50 commits or so everything worked perfectly, but it stops working on my last commit |
Hello! Can you try with the new version? 7.6.0 It seems that this issue is related to an old version of gitleaks. Cheers! |
I don't know why, but the issue disappeared? :-/ I upgraded from 7.5.0 to 7.6.0, so it wasn't that old :-) but we'll see how it goes |
Okai! |
I am trying to run the scan on our CI using this command:
If I use
--files-at-commit
or--commit
option, gitleaks throws error:When I remove
--files-at-commit
option gitleaks does not throw any error, but it doesn't find any secrets.Locally the same command works just fine.
Basic Info (please complete the following information):
cc @zricethezav
The text was updated successfully, but these errors were encountered: