Re: [CFH] Remotes conversion script
Dear diary, on Mon, Sep 25, 2006 at 01:04:41AM CEST, I got a letter where Jakub Narebski <jnareb@gmail.com> said that...
Show 20 quoted lines
> Petr Baudis wrote:
>
> > Dear diary, on Mon, Sep 25, 2006 at 12:34:24AM CEST, I got a letter
> > where Santi <sbejar@gmail.com> 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.
> 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<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj
$/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1
lK[d2%Sa2/d0$^Ixp"|dc`;s/\W//g;$_=pack('H*',/((..)*)$/)