All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ilari Liusvaara <ilari.liusvaara@elisanet.fi>
To: Jeff King <peff@peff.net>
Cc: git@vger.kernel.org
Subject: Re: [PATCH] rev-parse --namespace
Date: Sun, 17 Jan 2010 18:40:57 +0200	[thread overview]
Message-ID: <20100117164057.GA20554@Knoppix> (raw)
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=<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

  reply	other threads:[~2010-01-17 16:41 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-17 13:45 [PATCH] rev-parse --namespace Ilari Liusvaara
2010-01-17 16:27 ` Jeff King
2010-01-17 16:40   ` Ilari Liusvaara [this message]
2010-01-17 19:08     ` Jeff King
2010-01-17 19:28     ` Junio C Hamano

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100117164057.GA20554@Knoppix \
    --to=ilari.liusvaara@elisanet.fi \
    --cc=git@vger.kernel.org \
    --cc=peff@peff.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.