Skip to content

Git Renames are not Handled Correctly #7

Description

@sflanker

The following line from git status:

R  .github/workflows/build.yml -> .github/workflows/pull-request.yml

Causes an error attempting to compute the hash of the renamed file:

Error: failed to parse git status line: failed to stat file '> .github/workflows/pull-request.yml': stat > .github/workflows/pull-request.yml: no such file or directory

The parser is obviously splitting incorrectly (should split on -> not just -)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions