shorebird
shorebird copied to clipboard
fix: work-around `unexpected disconnect while reading sideband packet` from GitHub?
git clone sometimes fails with:
error: 2556 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output
Unclear why. https://stackoverflow.com/questions/66366582/github-unexpected-disconnect-while-reading-sideband-packet
But since this seems to be transient, we could try wrapping our git clone calls in something that knew how to catch this error and try again?
Another answer: https://github.com/leoafarias/fvm/discussions/687#discussioncomment-10345887