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

Re: [PATCH] describe match pattern for soft tags too

From
Shawn O. Pearce <spearce@spearce.org>
Date
Jun 3, 2008, 22:42 UTC
Message-ID
<20080603224225.GN12896@spearce.org>
In-Reply-To
<alpine.DEB.1.00.0806032124040.13507@racer.site.net>
Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:
Show 6 quoted lines
> On Tue, 3 Jun 2008, Michael Dressel wrote:
> 
> > So far git describe --match <pattern> would apply the <pattern> only
> > to tag objects not to soft tags.
> 
> And I thought that was what --tags was for.

Yes. However there is a bug in git-describe's implementation; --match only tested on annotated tags. The test was buried inside of the block that handles the annotated case. Michael's patch pulls this test outside where it can apply to lightweight tags when --tags is included on the command line.

-- 
Shawn.
Previous: Johannes SchindelinNext: Shawn O. Pearce
Message 3 of 6 in “describe match pattern for soft tags too”
  1. describe match pattern for soft tags tooMichael Dressel, Jun 3, 2008
  2. Johannes SchindelinJun 3, 2008
  3. Shawn O. PearceJun 3, 2008
  4. Shawn O. PearceJun 3, 2008
  5. Junio C HamanoJun 4, 2008
  6. Michael DresselJun 4, 2008

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.