qjebbs / vscode-plantuml

Rich PlantUML support for Visual Studio Code.
MIT License
1.09k stars 155 forks source link

git clone error: unable to create symlink templates/js/imageMapResizer.js: File name too long #577

Closed sebthom closed 6 months ago

sebthom commented 6 months ago

This commit breaks normal git cloning of this repo under linux https://github.com/qjebbs/vscode-plantuml/commit/b0e964505932e4d2bab339e2a42c75d59c548813

$ git clone https://github.com/qjebbs/vscode-plantuml
Cloning into 'vscode-plantuml'...
remote: Enumerating objects: 4653, done.
remote: Counting objects: 100% (484/484), done.
remote: Compressing objects: 100% (247/247), done.
remote: Total 4653 (delta 292), reused 390 (delta 235), pack-reused 4169
Receiving objects: 100% (4653/4653), 3.08 MiB | 32.51 MiB/s, done.
Resolving deltas: 100% (3205/3205), done.
error: unable to create symlink templates/js/imageMapResizer.js: 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 the checkout with 'git checkout -f HEAD'

The "dirty" workaround is to set git config --system core.symlinks false.

qjebbs commented 6 months ago

should have solved, pls retry