Re: [PATCH] rev-parse --namespace
On Sun, Jan 17, 2010 at 11:27:12AM -0500, Jeff King wrote:
Show 10 quoted lines
> On Sun, Jan 17, 2010 at 03:45:31PM +0200, Ilari Liusvaara wrote:
>
> > Add --namespace=<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