2007-02-13 09:30:18

by Laurent Pinchart

[permalink] [raw]
Subject: git issues while fetching from http://www.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git/

Hi everybody,

I'm trying to fetch from the Linux kernel repository at
http://www.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git/. After
downloading the objects, git failed while trying to fetch tags. Retrying the
fetch operation gives the following output:

$ git-fetch origin
Fetching refs/heads/master from
http://www.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git/ using
http
Auto-following refs/tags/v2.6.20
Auto-following refs/tags/v2.6.20
Auto-following refs/tags/v2.6.20-rc1
Auto-following refs/tags/v2.6.20-rc1
Auto-following refs/tags/v2.6.20-rc2
Auto-following refs/tags/v2.6.20-rc2
Auto-following refs/tags/v2.6.20-rc3
Auto-following refs/tags/v2.6.20-rc3
Auto-following refs/tags/v2.6.20-rc4
Auto-following refs/tags/v2.6.20-rc4
Auto-following refs/tags/v2.6.20-rc5
Auto-following refs/tags/v2.6.20-rc5
Auto-following refs/tags/v2.6.20-rc6
Auto-following refs/tags/v2.6.20-rc6
Auto-following refs/tags/v2.6.20-rc7
Auto-following refs/tags/v2.6.20-rc7
Failed to fetch refs/tags/v2.6.20 from
http://www.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git/

While trying to solve the issue, I noticed that the refs/tags directory in the
remote repository is empty. Is that a normal situation ? Should git be able
to regenerate the tags locally from the objects ? I'm using git 1.4.4.4.

Best regards,

Laurent Pinchart

PS: please CC me when replying to this e-mail. Thanks


2007-02-13 11:17:37

by Sébastien Dugué

[permalink] [raw]
Subject: Re: git issues while fetching from http://www.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git/


Hi Laurent,


On Tue, 13 Feb 2007 10:29:59 +0100 Laurent Pinchart <[email protected]> wrote:

> Hi everybody,
>
> I'm trying to fetch from the Linux kernel repository at
> http://www.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git/. After
> downloading the objects, git failed while trying to fetch tags. Retrying the
> fetch operation gives the following output:
>
> $ git-fetch origin
> Fetching refs/heads/master from
> http://www.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git/ using
> http
> Auto-following refs/tags/v2.6.20
> Auto-following refs/tags/v2.6.20
> Auto-following refs/tags/v2.6.20-rc1
> Auto-following refs/tags/v2.6.20-rc1
> Auto-following refs/tags/v2.6.20-rc2
> Auto-following refs/tags/v2.6.20-rc2
> Auto-following refs/tags/v2.6.20-rc3
> Auto-following refs/tags/v2.6.20-rc3
> Auto-following refs/tags/v2.6.20-rc4
> Auto-following refs/tags/v2.6.20-rc4
> Auto-following refs/tags/v2.6.20-rc5
> Auto-following refs/tags/v2.6.20-rc5
> Auto-following refs/tags/v2.6.20-rc6
> Auto-following refs/tags/v2.6.20-rc6
> Auto-following refs/tags/v2.6.20-rc7
> Auto-following refs/tags/v2.6.20-rc7
> Failed to fetch refs/tags/v2.6.20 from
> http://www.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git/
>
> While trying to solve the issue, I noticed that the refs/tags directory in the
> remote repository is empty. Is that a normal situation ? Should git be able
> to regenerate the tags locally from the objects ? I'm using git 1.4.4.4.

I had the same issue. Upgrade git. the refs are now packed
in a single file packed-refs.

S?bastien.