git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Miklos Vajna <vmiklos@frugalware.org>
To: git@vger.kernel.org
Subject: git describe weird behaviour
Date: Wed, 10 Nov 2010 02:00:16 +0100	[thread overview]
Message-ID: <20101110010016.GC22105@genesis.frugalware.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 617 bytes --]

Hi,

I'm not sure if this is a bug, so I'm asking.

The frugalware project (git repo:
http://frugalware.org/git/pub/frugalware/frugalware-current ) has the
two latest tags 1.3 and 1.4pre1, somehow git describe HEAD now mentions
1.3 and not 1.4pre1 in the output.

To be more exact:

$ git rev-parse --short HEAD
f25435f

$ git rev-list 1.4pre1..|wc -l
871

So I would exepct 1.4pre1-871-gf25435f. In fact, the output is:

$ git describe
1.3-3028-gf25435f

Or in case I force the usage of the latest tag:

$ git describe --candidate 1
1.4pre1-64725-gf25435f

Does anyone have an idea what's going wrong here?

Thanks.

[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

             reply	other threads:[~2010-11-10  1:00 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-10  1:00 Miklos Vajna [this message]
2010-11-10  4:14 ` git describe weird behaviour Jeff King
2010-11-10  8:47   ` Maaartin
2010-11-10  8:52   ` Thomas Rast
2010-11-10 14:03   ` Miklos Vajna
2010-12-09  1:33     ` Miklos Vajna
2010-12-09  3:28       ` Jeff King
2010-11-10 19:38 ` Junio C Hamano
2010-11-10 20:40   ` Miklos Vajna
2010-11-10 21:24     ` Jonathan Nieder
2010-11-10 22:07       ` Miklos Vajna

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20101110010016.GC22105@genesis.frugalware.org \
    --to=vmiklos@frugalware.org \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).