From: Ilari Liusvaara Date: Sun, 17 Jan 2010 16:40:57 GMT Subject: Re: [PATCH] rev-parse --namespace Message-ID: <20100117164057.GA20554@Knoppix> In-Reply-To: <20100117162712.GB7153@sigill.intra.peff.net> On Sun, Jan 17, 2010 at 11:27:12AM -0500, Jeff King wrote: > On Sun, Jan 17, 2010 at 03:45:31PM +0200, Ilari Liusvaara wrote: > > > Add --namespace= option to rev-parse and everything that > > accepts its options. This option matches all refs in some subnamespace > > of refs hierarchy, and is useful for selecting everything reachable from > > one or few, but not all remotes (--namespace=remotes/foo). > > If I understand it correctly, isn't the same as > > git for-each-ref refs/remotes/foo Nope. Compare: 'git log --branches --not --namespace=remotes/origin' with whatever you would have to currently type... -Ilari