Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error when cloning this repo: git clone --recursive https://github.com/github/vscode-codeql-starter.git #180

Open
zainebmb opened this issue Jun 22, 2023 · 2 comments

Comments

@zainebmb
Copy link

$ git clone --recursive https://github.com/github/vscode-codeql-starter.git
Cloning into 'vscode-codeql-starter'...
remote: Enumerating objects: 543, done.
remote: Counting objects: 100% (148/148), done.
remote: Compressing objects: 100% (97/97), done.
remote: Total 543 (delta 59), reused 75 (delta 47), pack-reused 395
Receiving objects: 100% (543/543), 140.42 KiB | 639.00 KiB/s, done.
Resolving deltas: 100% (197/197), done.
Submodule 'ql' (https://github.com/github/codeql.git) registered for path 'ql'
Cloning into 'C:/Users/zaineb/Desktop/starterws/vscode-codeql-starter/ql'...
remote: Enumerating objects: 731633, done.
remote: Counting objects: 100% (129/129), done.
remote: Compressing objects: 100% (103/103), done.
remote: Total 731633 (delta 36), reused 93 (delta 22), pack-reused 731504
Receiving objects: 100% (731633/731633), 240.93 MiB | 757.00 KiB/s, done.
Resolving deltas: 100% (502953/502953), done.
error: unable to create file javascript/ql/experimental/adaptivethreatmodeling/test/endpoint_large_scale/autogenerated/ShellCommandInjectionFromEnvironment/ShellCommandInjectionFromEnvironment/tst_shell-command-injection-from-environment.js: Filename too long
fatal: Unable to checkout '790d42b42c1ab57e0089cb65e3fdb47c70d956f0' in submodule path 'ql'

@aibaars
Copy link
Contributor

aibaars commented Jun 22, 2023

Thanks for reporting. I think you can enable long file path support for git as explained in the following StackOverflow question https://stackoverflow.com/questions/22575662/filename-too-long-in-git-for-windows

@PicBak1
Copy link

PicBak1 commented Sep 21, 2024

Cloning into 'PicBackFrontEnd'...
remote: Enumerating objects: 1061, done.
remote: Counting objects: 100% (181/181), done.
remote: Compressing objects: 100% (86/86), done.
error: RPC failed; curl 18 transfer closed with outstanding read data remaining
error: 2415 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output
i am getting this error whenever i try to clone on my laptop

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants