Golangci-lint: WARN [runner] Can't process result by diff processor: can't prepare diff by revgrep: could not read git repo: error executing git diff "REV" "": exit status 128

Created on 19 Jul 2018  路  4Comments  路  Source: golangci/golangci-lint

WARN [runner] Can't process result by diff processor: can't prepare diff by revgrep: could not read git repo: error executing git diff "REV" "": exit status 128

question

Most helpful comment

change

issues:
  new-from-rev: "REV"

to

issues:
  new-from-rev: ""

in .golangci.yml

All 4 comments

how do you run golangci-lint? do you have git installed?

I've seen this as well, how did you fix it?

@mbana please attach .golangci.yml, golangci-lint --version and how do you run golangci-lint

change

issues:
  new-from-rev: "REV"

to

issues:
  new-from-rev: ""

in .golangci.yml

Was this page helpful?
0 / 5 - 0 ratings

Related issues

DarthHater picture DarthHater  路  4Comments

anuaimi picture anuaimi  路  4Comments

grongor picture grongor  路  4Comments

alessio picture alessio  路  4Comments

ran-berenfeld picture ran-berenfeld  路  5Comments