Skip to content

Cannot parse Git status when files are renamed #138

Open
@csweichel

Description

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

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions