Skip to content

Instantly share code, notes, and snippets.

@treyharris
Created January 31, 2019 23:50
Show Gist options
  • Save treyharris/af7f9a62a490e995dcee7dffe4f7406f to your computer and use it in GitHub Desktop.
Save treyharris/af7f9a62a490e995dcee7dffe4f7406f to your computer and use it in GitHub Desktop.
$ for p in $protos; do
echo "\nPROTOCOL: $p\n==================="
HUB_PROTOCOL=$p git clone moritz/perl6-all-modules ALL-MODULES
rm -rf ALL-MODULES
──(for)── done
PROTOCOL: https
===================
Cloning into 'ALL-MODULES'...
remote: Enumerating objects: 4803, done.
remote: Counting objects: 100% (4803/4803), done.
remote: Compressing objects: 100% (2623/2623), done.
error: RPC failed; curl 56 GnuTLS recv error (-24): Decryption has failed.
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
PROTOCOL: git
===================
Cloning into 'ALL-MODULES'...
remote: Enumerating objects: 4803, done.
remote: Counting objects: 100% (4803/4803), done.
remote: Compressing objects: 100% (2623/2623), done.
fatal: protocol error: bad line length character: j
fatal: early EOF
fatal: index-pack failed
PROTOCOL: ssh
===================
Cloning into 'ALL-MODULES'...
remote: Enumerating objects: 4803, done.
remote: Counting objects: 100% (4803/4803), done.
remote: Compressing objects: 100% (2623/2623), done.
remote: Total 139658 (delta 1903), reused 4593 (delta 1722), pack-reused 134855
Receiving objects: 100% (139658/139658), 198.49 MiB | 32.26 MiB/s, done.
Resolving deltas: 100% (87465/87465), done.
Checking out files: 100% (27870/27870), done.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment