degit icon indicating copy to clipboard operation
degit copied to clipboard

Use spawn for ls-remote to avoid large output

Open gliheng opened this issue 1 year ago • 0 comments

exec's output is buffered and has limit of 1m by default. It's better to use spawn instead for big repo with lots of refs. One exmple repo is this one: https://github.com/vercel/next.js and is causing exec to fail.

gliheng avatar Jul 05 '23 06:07 gliheng