[php-maint] git clone --depth fails
Daniel Müller
daniel.mueller at 3w-media.de
Tue Sep 1 14:08:35 UTC 2015
Hi,
I wanted to clone the pkg-php git-repo using the information on
https://wiki.debian.org/PHP/GitUsage &
http://anonscm.debian.org/cgit/pkg-php/php.git/
A simple "git clone git://git.debian.org/pkg-php/php.git" did indeed
work, but adding "--depth 1" produces the following errors (tried it
with 4 different URLs found on the above 2 links):
$ date ; git clone --depth 1 git://git.debian.org/pkg-php/php.git
Tue Sep 1 15:30:27 CEST 2015
Cloning into 'php'...
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
$ date ; git clone --depth 1 http://git.debian.org/git/pkg-php/php.git
Tue Sep 1 15:30:34 CEST 2015
Cloning into 'php'...
fatal: http://git.debian.org/git/pkg-php/php.git/info/refs not found: did you run git update-server-info on the server?
$ date ; git clone --depth 1 https://anonscm.debian.org/git/pkg-php/php.git
Tue Sep 1 15:31:03 CEST 2015
Cloning into 'php'...
fatal: The remote end hung up unexpectedly
fatal: protocol error: bad pack header
$ date ; git clone --depth 1 git://anonscm.debian.org/pkg-php/php.git
Tue Sep 1 15:31:18 CEST 2015
Cloning into 'php'...
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
Cloning without "--depth" is OK for me, but if the error can not
easily be fixed, maybe a note like "do not use --depth" should be
added to the Wiki page.
With kind regards,
Daniel Müller.
--
--------------------------------------------------------------------
3w Media GmbH DENIC-184 CORE-99
An den Teichen 3 D-25482 Appen
Tel: +49.341355350-0 Fax: +49.341355350-55
Amtsgericht Pinneberg HR B 5050
USt.-Identnummer: DE193010474 Steuernummer: 1829806711
Geschaeftsfuehrerin: Kaethe Claudia Pfeifer
--------------------------------------------------------------------
Member of DENIC - CORE - EURid - NIC.AT - NOMINET - SIDN - RIPE NCC
More information about the pkg-php-maint
mailing list