github / vscode-codeql-starter

Starter workspace to use with the CodeQL extension for Visual Studio Code.
MIT License
498 stars 250 forks source link

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

Open zainebmb opened 1 year ago

zainebmb commented 1 year ago

$ 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 commented 1 year ago

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 commented 2 months ago

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