github / vscode-codeql-starter

Starter workspace to use with the CodeQL extension for Visual Studio Code.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

zainebmb opened this issue · comments

$ 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'

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