logoalt Hacker News

eterm • today at 7:18 PM • 1 reply • view on HN

I tried to run:

    git clone https://tangled.org/tangled.org/core 
And it failed?

    Cloning into 'core'...
    warning: redirecting to https://knot1.tangled.sh/did:plc:j5hmlfdrwkvtxm7cjmu7j2is/
    remote: Thanks for using knot1.tangled.sh!
    remote: Enumerating objects: 99191, done.
    remote: Total 99191, done.
    Receiving objects: 100% (99191/99191), 122.19 MiB | 39.12 MiB/s, done.
    Resolving deltas: 100% (49286/49286), done.
    error: invalid path 'localinfra/fixtures/blobs/did:plc:igzuueb63dytyy3tpaweofuu    bafkreieify5bix4cmrj4iuxiceb6srr2boltkbbf7yizwtgwurqv42sltm'
    fatal: unable to checkout working tree
    warning: Clone succeeded, but checkout failed.
    and retry with 'git restore --source=HEAD :/'
    You can inspect what was checked out with 'git status'
It's not a great look when the very first thing I'd want to try to do:

    1. Redirects from .org to .sh suspiciously
    2.  falls over.
I now have to try to work out whether that other domain is deliberate or compromised.

Replies

isityettime • today at 7:25 PM

Afaict that's an issue with your operating system, not with tangled's git implementation. You're trying to check out a file with a colon in its name, and Windows can't handle that because of DOS baggage. If you mirrored that to GitHub or wherever and then tried to clone, you'd probably get the same error again.

Try cloning on WSL, in the VM's filesystem, and let us all know how that goes.

➕ show 1 reply