Git @ edge repo fails to clone over HTTP(S)
Expected behavior
ls -lh
should output ssh
, http
,
and https
if all clones worked.
However HTTP- and HTTPS-based clones immediately quit after outputting
Cloning into bare repository 'http'...
or
Cloning into bare repository 'https'...
Steps to reproduce
I used Alpine 3.4.3 via Docker to run these commands:
docker run --rm -it alpine:3.4 /bin/ash
echo '@edge http://dl-cdn.alpinelinux.org/alpine/edge/main' >> /etc/apk/repositories
apk add --no-cache git@edge
cd
git clone git://github.com/schacon/simplegit --bare --depth 1 ssh
git clone http://github.com/schacon/simplegit --bare --depth 1 http
git clone https://github.com/schacon/simplegit --bare --depth 1 https
ls -lh
Variations attempted
- Docker image
alpine:3.3
(Alpine 3.3.3) - Ran
apk update && apk upgrade
before anything else to no effect - Ran identical commands with the stable copy of Git @ v3.4 and cloning worked as expected.
Notes
- No verbose output is available using
—verbose
during a failing clone. It just silently exits. - I’m not sure if this issue is upstream, due somehow to the libressl transition, or an error in the current compiled edge copy
- Edge copy in question: git-2.10.1-r0.apk 2016-Oct-10 15:52:29
-
—bare
and—depth
are just for test speed and do not affect results
(from redmine: issue id 6358, created on 2016-10-16)