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

Re: [PATCH] describe: Avoid unnecessary warning when using --all

From
Junio C Hamano <gitster@pobox.com>
Date
Dec 27, 2008, 00:18 UTC
Message-ID
<7vmyeijws2.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<20081226220201.GA20516@spearce.org>
"Shawn O. Pearce" <spearce@spearce.org> writes:
Show 14 quoted lines
> In 212945d4 ("Teach git-describe to verify annotated tag names
> before output") git-describe learned how to output a warning if
> an annotated tag object was matched but its internal name doesn't
> match the local ref name.
>
> However, "git describe --all" causes the local ref name to be
> prefixed with "tags/", so we need to skip over this prefix before
> comparing the local ref name with the name recorded inside of the
> tag object.
>
> Patch-by: René Scharfe <rene.scharfe@lsrfire.ath.cx>
> Signed-off-by: Shawn O. Pearce <sop@google.com>
> ---
>  IMHO, suitable for maint...

Yeah, do you prefer to be known as "sop" over "spearce" these days, by the way? It does not make a difference to me but I just noticed that Author and S-o-b won't be matching, so I am just being curious.

Previous: Shawn O. PearceNext: Shawn O. Pearce
Message 2 of 6 in “describe: Avoid unnecessary warning when using --all”
  1. describe: Avoid unnecessary warning when using --allShawn O. Pearce, Dec 26, 2008
  2. Junio C HamanoDec 27, 2008
  3. Shawn O. PearceDec 27, 2008
  4. Miklos VajnaDec 27, 2008
  5. Miklos VajnaDec 27, 2008
  6. Junio C HamanoDec 27, 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.