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

Re: [PATCH v2] rev-parse --namespace

From
Thomas Rast <trast@student.ethz.ch>
Date
Jan 19, 2010, 17:39 UTC
Message-ID
<201001191839.27090.trast@student.ethz.ch>
In-Reply-To
<1263798952-27624-1-git-send-email-ilari.liusvaara@elisanet.fi>
Ilari Liusvaara wrote:
Show 9 quoted lines
> Add --namespace=<namespace> option to rev-parse and everything that
> accepts its options. This option matches all refs in some subnamespace
> of refs hierarchy.
> 
> Example:
> 
> 'git log --branches --not --namespace=remotes/origin'
> 
> To show what you have that origin doesn't.

Sorry for being so late to this discussion, but... wouldn't it be nicer to give it some globbing powers and the same semantics as 'fetch' lines? That way spelling "all master branches of my remotes" and other such things would be easy.

-- 
Thomas Rast
trast@{inf,student}.ethz.ch
Previous: Junio C HamanoNext: Ilari Liusvaara
Message 7 of 14 in “rev-parse --namespace”
  1. rev-parse --namespaceIlari Liusvaara, Jan 18, 2010
  2. Junio C HamanoJan 18, 2010
  3. rev-parse --namespaceIlari Liusvaara, Jan 18, 2010
  4. Jeff KingJan 19, 2010
  5. Fix errors in t6018Ilari Liusvaara, Jan 19, 2010
  6. Junio C HamanoJan 19, 2010
  7. Thomas RastJan 19, 2010
  8. Ilari LiusvaaraJan 19, 2010
  9. Junio C HamanoJan 19, 2010
  10. Ilari LiusvaaraJan 19, 2010
  11. Thomas RastJan 19, 2010
  12. Ilari LiusvaaraJan 19, 2010
  13. Junio C HamanoJan 19, 2010
  14. Johannes SixtJan 20, 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.