[BUG] A space causes the windows platform to fail to checkout
zu1k opened this issue · 2 comments
zu1k commented
When I clone this repo
PS G:\windows> git clone https://github.com/Ascotbe/Kernelhub.git
Cloning into 'Kernelhub'...
remote: Enumerating objects: 1563, done.
remote: Counting objects: 100% (1563/1563), done.
remote: Compressing objects: 100% (976/976), done.
remote: Total 1563 (delta 627), reused 1433 (delta 499), pack-reused 0
Receiving objects: 100% (1563/1563), 28.95 MiB | 1.81 MiB/s, done.
Resolving deltas: 100% (627/627), done.
error: invalid path 'CVE-2014-6321 /README.md' // LOOK AT THIS LINE
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 :/
When I checkout manually
PS G:\windows\Kernelhub> git checkout HEAD
error: invalid path 'CVE-2014-6321 /README.md'
It looks like an unexpected space in the path causing this problem.
Ascotbe commented
zu1k commented
Fixed. Thank you.