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

Re: [PATCH] Add "--branches" and "--tags" options to git-rev-parse.

From
Junio C Hamano <junkio@cox.net>
Date
May 13, 2006, 17:38 UTC
Message-ID
<7vd5ehu8og.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<BAYC1-PASMTP0299DC98A51B55188BDF96AEAD0@CEZ.ICE>
Sean Estabrooks <seanlkml@sympatico.ca> writes:
> "git branch" uses rev-parse and can become slow when there are many
> tags.  Use the new "--branches" option of rev-parse to speed things up.
Makes sense perhaps.

I understand you added --tags for completeness. Probably it would make sense to add --remotes if you are shooting for that.

Previous: Sean EstabrooksNext: Sean
Message 2 of 6 in “Add "--branches" and "--tags" options to git-rev-parse.”
  1. Add "--branches" and "--tags" options to git-rev-parse.Sean Estabrooks, May 13, 2006
  2. Junio C HamanoMay 13, 2006
  3. Add "--branches", "--tags" and "--remotes" options to git-rev-parse.Sean, May 14, 2006
  4. Junio C HamanoMay 14, 2006
  5. SeanMay 15, 2006
  6. Jakub NarebskiMay 15, 2006

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.