git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* git log with %(describe) placeholder does not find most recent tag
@ 2021-10-11  8:08 Benjamin Kircher
  2021-10-11  8:23 ` Bagas Sanjaya
  2021-10-11 12:27 ` Carlo Arenas
  0 siblings, 2 replies; 5+ messages in thread
From: Benjamin Kircher @ 2021-10-11  8:08 UTC (permalink / raw)
  To: git

Hello there,


What did you do before the bug happened? (Steps to reproduce your
issue)

    git log --format='%(describe)' -n1

produces a different result than

    git describe --tags

What did you expect to happen? (Expected behavior)

I expected both to produce (roughly) the same result. At least,
reference the same tag.

What happened instead? (Actual behavior)

    git log --format='%(describe)' -n1
    v0.11.0

and

    git log --format='%(describe)' -n1
    v0.3.0-beta-253-g4ccd023

What's different between what you expected and what actually happened?

git log with %(describe) placeholder does not seem to find the most
recent tag as git-describe would do. Is this intended?


[System Info]
git version:
git version 2.33.0
cpu: x86_64
no commit associated with this build
sizeof-long: 8
sizeof-size_t: 8
shell-path: /bin/sh
uname: Linux 5.14.10-200.fc34.x86_64 #1 SMP Thu Oct 7 20:49:53 UTC 2021
x86_64
compiler info: gnuc: 11.2
libc info: glibc: 2.33
$SHELL (typically, interactive shell): /bin/zsh


[Enabled Hooks]



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-10-11 16:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-11  8:08 git log with %(describe) placeholder does not find most recent tag Benjamin Kircher
2021-10-11  8:23 ` Bagas Sanjaya
2021-10-11  8:29   ` Benjamin Kircher
2021-10-11 12:27 ` Carlo Arenas
2021-10-11 16:23   ` Jeff King

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).