Skip to content

Clone repo - error: invalid path 'tests/phpunit/testdata/plugins/test-plugin-file-type-badly-named-files-errors/badly|file%name!@#$%^&*()+=[]{};:"'<>,?|`~.php' #979

Open
@kkmuffme

Description

@kkmuffme

When cloning it fails with:

error: invalid path 'tests/phpunit/testdata/plugins/test-plugin-file-type-badly-named-files-errors/badly|file%name!@#$%^&*()+=[]{};:"'<>,?|`~.php'
fatal: unable to checkout working tree
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry with 'git restore --source=HEAD :/'

on Windows. I assume it's bc ^ and ~ (and possibly others) have a special/different meaning on Windows

While it's clear to me how to workaround this, this should perhaps be addressed to make it easier for other people to contribute

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