xfs-masters
[Top] [All Lists]

[xfs-masters] Re: git://oss.sgi.com broke

To: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
Subject: [xfs-masters] Re: git://oss.sgi.com broke
From: Daniel Barkalow <barkalow@xxxxxxxxxxxx>
Date: Mon, 6 Oct 2008 13:58:02 -0400 (EDT)
Cc: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>, xfs-masters@xxxxxxxxxxx, git@xxxxxxxxxxxxxxx
In-reply-to: <alpine.LFD.2.00.0810061005540.3208@nehalem.linux-foundation.org>
References: <20081003121903.6c9a7ebc.akpm@linux-foundation.org> <alpine.LFD.2.00.0810061005540.3208@nehalem.linux-foundation.org>
Reply-to: xfs-masters@xxxxxxxxxxx
Sender: xfs-masters-bounce@xxxxxxxxxxx
User-agent: Alpine 1.00 (LNX 882 2007-12-20)
On Mon, 6 Oct 2008, Linus Torvalds wrote:

> 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*


<Prev in Thread] Current Thread [Next in Thread>