Re: [CFH] Remotes conversion script
- From
Petr Baudis <pasky@suse.cz>
- Date
- Sep 24, 2006, 22:40 UTC
- Message-ID
- <20060924224017.GC20017@pasky.or.cz>
- In-Reply-To
- <8aa486160609241534yc78b194g64038fe22048c443@mail.gmail.com>
Dear diary, on Mon, Sep 25, 2006 at 12:34:24AM CEST, I got a letter where Santi <sbejar@gmail.com> said that...
Show 11 quoted lines
> 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, so when creating new remote branch, it won't live as refs/heads/git but as refs/remotes/git/master (referencing to it as 'git' will still work as long as you won't have a local 'git' branch, in which case you will have to use 'remotes/git'). Cogito will certainly still have to support using the old setup, but it will not support creating it anymore.
--
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*',/((..)*)$/)