Skip to content

Cannot clone repo on Windows #19

@celtic-coder

Description

@celtic-coder

Hi Acmeism (@acmeism) / Ingy (@ingydotnet),

This in an excellent project! I am sure that many developers will find it useful. However, there appears to be a problem cloning the repo on Windows.

As per the "Getting the Data" section in the ReadMe, I tried the following command:

git clone https://github.com/acmeism/RosettaCodeData --single-branch --depth=1

The initial portion of the clone command worked, but it then failed with an invalid path error:

Cloning into 'RosettaCodeData'...
remote: Enumerating objects: 283863, done.
remote: Counting objects: 100% (283863/283863), done.
remote: Compressing objects: 100% (168129/168129), done.
remote: Total 283863 (delta 5568), reused 280218 (delta 5540), pack-reused 0
Receiving objects: 100% (283863/283863), 52.34 MiB | 3.61 MiB/s, done.

Resolving deltas: 100% (5568/5568), done.
error: invalid path 'Lang/11l/Sequence:-smallest-number-greater-than-previous-term-with-exactly-n-divisors'
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 :/'

My guess for the failure is that the ":" is an invalid character in the Windows filesystem. Might it be possible to change a colon character in a filename to the valid "-" character instead?

Kind Regards,
Liam

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