Skip to content

Checkout at Windows git failed #13

@NeitrinoK

Description

@NeitrinoK

Checkout at Windows git failed

K:\>git clone https://github.com/VKCOM/nocc.git
Cloning into 'nocc'...
remote: Enumerating objects: 222, done.
remote: Counting objects: 100% (53/53), done.
remote: Compressing objects: 100% (36/36), done.
Receiving objects:  97% (216/222)sed 19 (delta 16), pack-reused 169
Receiving objects: 100% (222/222), 1.19 MiB | 5.39 MiB/s, done.
Resolving deltas: 100% (75/75), done.
error: invalid path 'tests/dt/dep1/dir with space/strange<>name()&!@#-*.h.inc'
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 :/'

Partial workaround

git config core.protectNTFS false

But still have

K:\nocc>git checkout
error: unable to create file tests/dt/dep1/dir with space/strange<>name()&!@#-*.h.inc: Invalid argument
D       tests/dt/dep1/dir with space/strange<>name()&!@#-*.h.inc
Your branch is up to date with 'origin/master'.

Reason: https://github.com/VKCOM/nocc/blob/master/tests/dt/dep1/dir%20with%20space/strange%3C%3Ename()%26!%40%23-*.h.inc

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions