Skip to content

--new-from-rev stopped working from version 1.51.1 #3982

@man0xff

Description

@man0xff

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

  • Yes, I've included all information above (version, config, etc.).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions