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

Why does git-describe warn about something that you can't control?

From
Ddemerphq <demerphq@gmail.com>
Date
Dec 26, 2008, 11:50 UTC
Message-ID
<9b18b3110812260350q6870700du982ec3a7a91950e2@mail.gmail.com>

On the perl.git repo if I use git-describe --all on some commits I get warnings like this:

$ git describe --all 3417e4f8422bcf13f799ce1acef44b27ccbef3d8 warning: tag 'perl-5.005_04' is really 'tags/perl-5.005_04' here perl-5.005_04

Except there doesnt seem to be any explanation for why the warning is being produced (it almost, but not quite looks random for the commits im looking at), how to silence it, or how to force git-describe to for instance use "tags/perl-5.8.0" instead so the warning is not generated.

I think this behaviour is confusing, either the warning should go away, or it should be improved and complemented by a switch to force git-describe to use the qualified tagname instead, or at the very least a switch to silence the warning (which is really annoying when you are doing git-describe on hundreds of commits in a go).

Details for the perl repo are in my signature.
Yves
-- 
git clone git://perl5.git.perl.org/perl
Next: René Scharfe
Message 1 of 2 in “Why does git-describe warn about something that you can't control?”
  1. demerphqDec 26, 2008
  2. René ScharfeDec 26, 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.