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

Re: [PATCH] rev-parse --namespace

From
ILIlari Liusvaara <ilari.liusvaara@elisanet.fi>
Date
Jan 17, 2010, 16:40 UTC
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:
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
Previous: Jeff KingNext: Jeff King
Message 3 of 5 in “rev-parse --namespace”
  1. rev-parse --namespaceIlari Liusvaara, Jan 17, 2010
  2. Jeff KingJan 17, 2010
  3. Ilari LiusvaaraJan 17, 2010
  4. Jeff KingJan 17, 2010
  5. Junio C HamanoJan 17, 2010

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.