Skip to content

Cannot checkout this repo on Windows

Open

Description

Trying to check out the repo results in an error:

git clone [email protected]:getsentry/sentry.git --single-branch
Cloning into 'sentry'...
remote: Enumerating objects: 870499, done.
remote: Counting objects: 100% (2949/2949), done.
remote: Compressing objects: 100% (2053/2053), done.
remote: Total 870499 (delta 1661), reused 1936 (delta 890), pack-reused 867550
Receiving objects: 100% (870499/870499), 379.96 MiB | 5.94 MiB/s, done.
Resolving deltas: 100% (663887/663887), done.
error: invalid path 'tests/sentry/snuba/metrics/snapshots/test_extraction/test_spec_wildcard_escaping/title@@/dispatch@@/backend test /dispatch@something/@/dispatch@@.pysnap'
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 :/'

This seems to be an issue caused by paths that are incompatible with Windows. AFAICT it has been introduced in #64651

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

Metadata

Assignees

No one assigned

    Labels

    Component: Developer EnvironmentThis covers issues related to setting up a developer's environmentThis covers issues related to setting up a developer's environment

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions