leeway icon indicating copy to clipboard operation
leeway copied to clipboard

Cannot parse Git status when files are renamed

Open csweichel opened this issue 3 years ago • 0 comments

Bug description

When files have been renamed, leeway fails to parse the Git status and assumes all files are "dirty":

WARN[0000] cannot parse git status: assuming all files are dirty  error="cannot parse git status \"R  bootstrap/infra/README.md -> bootstrap/README.md\": expected two segments, got 4"

Steps to reproduce

Rename a file in the Git working copy using git mv

Expected behavior

No response

Example repository

No response

Anything else?

No response

csweichel avatar Nov 24 '22 14:11 csweichel