Commit ae1a7eefff may have broken git behind a firewall
- From
- H.J. Lu <hjl.tools@gmail.com>
- Date
- Oct 12, 2021, 21:03 UTC
- Message-ID
- <CAMe9rOrononRUYK0HmW_tknApUV+ZJeDBwOYMa1Ax-VHXZmoJQ@mail.gmail.com>
https://github.com/git/git/commit/ae1a7eefff
may have broken git behind a firewall:
https://bugzilla.redhat.com/show_bug.cgi?id=2013288
I am behind a firewall and using gitproxy:
exec socat - socks4:proxy-server-name:$1:$2
I got
$ git clone git://gcc.gnu.org/git/gcc.git Cloning into 'gcc'... fetch-pack: unexpected disconnect while reading sideband packet fatal: early EOF fatal: fetch-pack: invalid index-pack output $
Both
$ git clone --depth 1 git://gcc.gnu.org/git/gcc.git
and
$ git clone https://gcc.gnu.org/git/gcc.git
work.
$ git -c protocol.version=1 clone git://gcc.gnu.org/git/gcc.git
also works.
-- H.J.