-
-
Notifications
You must be signed in to change notification settings - Fork 242
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
Gitleaks --no-git don't work anymore #2945
Comments
@DariuszPorowski please could you have a look ? :) |
Hello! |
Hello, same problem here. thanks |
@VictorRos @DariuszPorowski any chance you can have a look at this regression to allow --no-git to be used again? :) |
@nvuillam I am on vacation now. Going back in 3 weeks. |
@DariuszPorowski no problem, enjoy your vacations :) At worse i'll add a workaround with an env var :) |
hello, any update for this issue? thanks |
This is not a well thought out idea, but I wonder if there is a way to work around this by passing something clever to Gitleaks using |
I think the changed line 72 is the culprit here:
I've been "struggling" with the same issue here as in my case:
Any ideas on how to work around the issue or a bugfix release would be much appreciated 😄 . |
@DariuszPorowski will you find the time to solve the issue, or is it faster if someone else investigates it ? :) |
@nvuillam unfortunately in the upcoming period I cannot handle this due to personal/work stuff. Probably closer to the EOY I can jump back to some open-source contribution. |
Hi! |
* Fixed Gitleaks --no-git doesn't work anymore (#2945) * Regression on the `--no-git` option which was systematically deleted. This prevents Gitleaks from treating git repository as a regular directory and scan those files. * Update CHANGELOG.md
Fixed :) @VictorRos If you can confirm with beta version, it's nice ^^ |
that seem work on one of my repository i test . If other people can confirm that ok :) |
@snaquekiller thanks for your feedback :) |
@nvuillam I confirmed, @snaquekiller tested it for me 😄 We had a use case this morning where a developer had a problem with MegaLinter We are waiting for next release to upgrade to next version all our repositories. |
@VictorRos thanks for the feedback :) The next release should happen this week-end :) |
Describe the bug
Hello, when i try to pass --not-git for gitleaks argument, it's never work as long as it's git repos.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Should not read commit.
Additional context
I suppose that the problem commit is : 7ff24de#diff-a99fcd6a981aa3d1d5a58aced014f97230d5e2f948e99cdc3f068330e3cca579
The text was updated successfully, but these errors were encountered: