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, 23:11 UTC
Message-ID
<20060924231108.GE20017@pasky.or.cz>
In-Reply-To
<ef72ts$dk9$2@sea.gmane.org>

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.
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<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: Jakub NarebskiNext: Jakub Narebski
Message 12 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.