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

Re: git://oss.sgi.com broke

From
Daniel Barkalow <barkalow@iabervon.org>
Date
Oct 6, 2008, 17:58 UTC
Message-ID
<alpine.LNX.1.00.0810061353140.19665@iabervon.org>
In-Reply-To
<alpine.LFD.2.00.0810061005540.3208@nehalem.linux-foundation.org>
On Mon, 6 Oct 2008, Linus Torvalds wrote:
Show 23 quoted lines
> On Fri, 3 Oct 2008, Andrew Morton wrote:
> >
> > y:/usr/src/git26> git --version
> > git version 1.5.6.rc0
> > 
> > y:/usr/src/git26> cat .git/branches/git-xfs
> > git://oss.sgi.com:8090/xfs/xfs-2.6.git#master
> 
> Hmm. That's the really old and deprecated branch format.
> 
> I'm getting a "Connection refused" from oss.sgi.com, and I think there's 
> possibly something broken there, but quite independently of that, maybe we 
> can try to teach you another way to set up remote branches?
> 
> In your .git/config file, use
> 
> 	[remote "git-xfs"]
> 		url = git://oss.sgi.com:8090/xfs/xfs-2.6.git
> 		fetch = master
> 
> because the whole .git/branches/<branch-name> thing is fairly deprecated, 
> and cannot handle some things that the .git/config file format can (like 
> saying where to fetch into, or how to push back etc).

I think Andrew convinced us to undeprecate that format, because he wants to be able to configure each branch with one line in a separate file. In any case, remote.c takes care of these things seemlessly.

	-Daniel
*This .sig left intentionally blank*
Previous: Linus TorvaldsNext: Andrew Morton
Message 7 of 10 in “git://oss.sgi.com broke”
  1. Andrew MortonOct 3, 2008
  2. Christoph HellwigOct 3, 2008
  3. Russell CattelanOct 6, 2008
  4. Samuel TardieuOct 6, 2008
  5. Samuel TardieuOct 6, 2008
  6. Linus TorvaldsOct 6, 2008
  7. Daniel BarkalowOct 6, 2008
  8. Andrew MortonOct 7, 2008
  9. Russell CattelanOct 6, 2008
  10. Andrew MortonOct 7, 2008

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.