[php-maint] git clone --depth fails

Ondřej Surý ondrej at sury.org
Tue Sep 1 16:46:39 UTC 2015


Hi Daniel,

I would happily fix that if you have an idea how to fix that...

Cheers,
Ondrej

On Tue, Sep 1, 2015, at 16:08, Daniel Müller wrote:
> 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
> 
> _______________________________________________
> pkg-php-maint mailing list
> pkg-php-maint at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-php-maint


-- 
Ondřej Surý <ondrej at sury.org>
Knot DNS (https://www.knot-dns.cz/) – a high-performance DNS server



More information about the pkg-php-maint mailing list