On Mon, Oct 11, 2021 at 05:27:39AM -0700, Carlo Arenas wrote:
On Mon, Oct 11, 2021 at 1:10 AM Benjamin Kircher [off-list ref] wrote:
quoted
produces a different result than
git describe --tags
if the repository you are looking at has non annotated tags (the ones
that have no signature or message and that are created by default with
`git tag`), then that is expected and explained in the documentation
for the '--tags' option you are using.
Yes, that's the case in the example repo he showed. I don't think there
is currently a way to convince %(describe) to use "--tags" in the
underlying describe command, but it seems like a reasonable extension if
somebody is interested in writing it. We already take some options to
%(describe), so the syntax is prepared to add more.
-Peff