Re: [stable] [PATCH 1/2] sd: fix memory corruption by sd_read_cache_type

Al Viro
2006-02-26T11:47:19Z

On Sun, Feb 26, 2006 at 05:45:02AM -0500, Jeff Garzik wrote:
> AFAICS 'git clone $rsync_url' pulls down the heads and tags just fine...
> I just tried it again to be certain. refs/heads and refs/tags is
> fully populated, and HEAD links to refs/master as it should.

Why should it? Note that this is _not_ what happens with e.g. git://
URLs. And while we are at it, who said that refs/master even exists?
AFAICS, it's a convention and no more - it doesn't have to be there.

Even if it does exist, I'd say that behaviour of git:// makes more sense -
it sets HEAD to the same thing we have in remote; if it's refs/master,
so be it, if it's set to a different branch, we start on the same branch.