Jump to content

Can't checkout git repository


Recommended Posts

Hi, I can't clone (well, I can't checkout) the project from the git repository.

I got a bunch of errors. I think that's somewhat recent, I used to be able to do it.

Cloning into 'Tweaks-Anthology'...
remote: Enumerating objects: 6278, done.
remote: Counting objects: 100% (683/683), done.
remote: Compressing objects: 100% (226/226), done.
remote: Total 6278 (delta 504), reused 527 (delta 457), pack-reused 5595
Receiving objects: 100% (6278/6278), 20.06 MiB | 2.28 MiB/s, done.
Resolving deltas: 100% (3153/3153), done.
error: unable to create symlink cdtweaks/lib/alter_header.tpa: File name too long
error: unable to create symlink cdtweaks/lib/g3_bg_cpmvars.tpa: File name too long
error: unable to create symlink cdtweaks/lib/g3_bgee_cpmvars.tpa: File name too long
error: unable to create symlink cdtweaks/lib/g3_bgt_cpmvars.tpa: File name too long
error: unable to create symlink cdtweaks/lib/g3_tutu_cpmvars.tpa: File name too long
error: unable to create symlink cdtweaks/lib/joinable_npc_array.tpa: File name too long
error: unable to create symlink cdtweaks/lib/kit_ids_fixer.tpa: File name too long
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 :/'



 

 

Link to comment

I can't check this repo out on Windows either.

It was most likely introduced by @CamDawg's commit 32b38cf. It looks like the commit you mentioned tried to fix this issue but didn't fully succeed.

From what I get from this Stack Overflow answer if the content of a fake-symlink file is changed without changing its mode from "symlink" back to "regular file" it is made as a blob that can't be extracted on an OS with real symlinks. The SO answer also provides some clues how to fix it.

Link to comment

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...