git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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*',/((..)*)$/)
Previous: SantiNext: Jakub Narebski
Message 10 of 14 in “[CFH] Remotes conversion script”
  1. Petr BaudisSep 24, 2006
  2. Jakub NarebskiSep 24, 2006
  3. Johannes SchindelinSep 24, 2006
  4. Jakub NarebskiSep 24, 2006
  5. Jakub NarebskiSep 24, 2006
  6. SantiSep 24, 2006
  7. Johannes SchindelinSep 24, 2006
  8. Petr BaudisSep 24, 2006
  9. SantiSep 24, 2006
  10. Petr BaudisSep 24, 2006
  11. Jakub NarebskiSep 24, 2006
  12. Petr BaudisSep 24, 2006
  13. Jakub NarebskiSep 24, 2006
  14. Petr BaudisSep 24, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.