Re: Updated git HOWTO for kernel hackers

From: Jeff Garzik
Date: Wed Jun 22 2005 - 20:53:42 EST


Linus Torvalds wrote:

On Wed, 22 Jun 2005, Jeff Garzik wrote:

But, like branches, it means that if you want a tag, you need to know the tag you want, and download it the same way you download a branch.

Still -- that's interesting data that no script currently tracks. You gotta fall back to rsync.


Something like

git-ssh/http-pull -w tags/<tagname> tags/<tagname> <url>

_should_ hopefully work now (and the "-a" flag should mean that you also get all the objects needed for the tag).

The problem isn't pulling tags, the problem is that nothing automatically downloads the 41-byte tag files themselves. Pulling linux-2.6.git after the 2.6.12 release did not cause refs/tags/v2.6.12 to be downloaded.

With BK, tags came with each pull. With git, you have to go "outside the system" (rsync) just get the new tags.

Jeff


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/