From: Petr Baudis Date: Sun, 24 Sep 2006 23:11:08 GMT Subject: Re: [CFH] Remotes conversion script Message-ID: <20060924231108.GE20017@pasky.or.cz> In-Reply-To: Dear diary, on Mon, Sep 25, 2006 at 01:04:41AM CEST, I got a letter where Jakub Narebski said that... > Petr Baudis wrote: > > > Dear diary, on Mon, Sep 25, 2006 at 12:34:24AM CEST, I got a letter > > where Santi said that... > >> It could be I'm wrong (for sure, I miss something), but I see the > >> branches/ files like [remote] sections files with just one fetch: > >> > >> .git/branches/git: > >> git://...../git.gi > >> > >> would be: > >> > >> [remote "git"] > >> url=git://...../git.git > >> fetch=refs/heads/master:refs/heads/git > > > > That's basically right, the point is that with moving to remotes > > support, we will make each remote live in its own separate namespace, > > Which is overkill if we fetch only from one directory. Why? > Besides using separate remotes (hmmm, we should add support for > refs/remotes/ in gitweb) is a policy decision. Cogito's designed so that users don't have to _care_ about the policy at this level and it will just magically work for them, sensibly. If you care enough, you can just modify the config file manually. > On somewhat unrelated issue: should git-clone create [remote] section > (and perhaps [branch] sections) instead of remotes file? Ideally, I would hope for .git/remotes/ to be officially deprecated... (perhaps after the next release?) -- Petr "Pasky" Baudis Stuff: http://pasky.or.cz/ #!/bin/perl -sp0777i