leeway
leeway copied to clipboard
Cannot parse Git status when files are renamed
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