-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
--new-from-rev stopped working from version 1.51.1 #3982
Comments
Hey, thank you for opening your first Issue ! 🙂 If you would like to contribute we have a guide for contributors. |
Hello, can you provide "Verbose output of running"? |
$ docker run --rm -v $(pwd):/x -w /x golangci/golangci-lint:v1.53.3 golangci-lint run --new-from-rev HEAD
level=warning msg="[runner] Can't process result by diff processor: can't prepare diff by revgrep: no version control repository found" It's not an error but a warning. It's related to git:
you have to run |
Thanks, it works. But it might be worth adding some directory to the |
Welcome
Description of the problem
With versions higher than 1.51.0 I'm getting errors running that command:
docker run --rm -v $(pwd):/x -w /x golangci/golangci-lint:<version> golangci-lint run --new-from-rev HEAD
Version 1.51.0 doesn't show any error as expected.
Version of golangci-lint
Tried versions from 1.51.0 and higher.
Configuration
Default configuration.
Go environment
Running from docker.
Verbose output of running
Don't use cache while running the docker image.
Code example or link to a public repository
Validation
The text was updated successfully, but these errors were encountered: