Re: git is live

Peter Bergner
2013-11-06T20:01:19Z

On Wed, 2013-11-06 at 11:41 -0800, Andrew Pinski wrote:
> > git://sourceware.org/git/binutils-gdb.git
> > ssh://sourceware.org/git/binutils-gdb.git
> >
> > I believe only the latter form allows pushing.
>
> When I do a git clone of the first URL I get a lot of errors:
> error: refs/tags/x86_64versiong3 does not point to a valid object!
> error: refs/tags/w32api-2_2 does not point to a valid object!

I was seeing the same thing. It went away when I upgraded to
a newer git version (I was using 1.7.1). Segher looked into
and here are his comments from #gcc:

<segher> in 1.6.5 an optimisation was introduced that has the server not
send everything it has on any clone, but only what you ask to clone
<segher> it forgot to ask for the tags it seems; it was fixed in 1.7.4 or so
<segher> so affected versions end up with a clone where the objects for those
tags are missing, and will error whenever you try to use them.
otherwise no problem

Peter