Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Checkout at Windows git failed #13

Open
NeitrinoK opened this issue May 23, 2023 · 0 comments
Open

Checkout at Windows git failed #13

NeitrinoK opened this issue May 23, 2023 · 0 comments

Comments

@NeitrinoK
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant