From 71076926786abe29c94cc08d7298a3ddb5a055c1 Mon Sep 17 00:00:00 2001 From: Dan Halbert Date: Fri, 18 Feb 2022 21:22:02 -0500 Subject: [PATCH] use --long for describe in setup.py-stubs --- setup.py-stubs | 2 +- tools/describe | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/setup.py-stubs b/setup.py-stubs index b09c47f739..9abfa348a9 100644 --- a/setup.py-stubs +++ b/setup.py-stubs @@ -43,7 +43,7 @@ setup( "root": "..", "relative_to": __file__, "local_scheme": local_scheme, - "git_describe_command": "tools/describe", + "git_describe_command": "tools/describe --long", }, zip_safe=False, ) diff --git a/tools/describe b/tools/describe index becdc1e5bd..7fd624abe3 100755 --- a/tools/describe +++ b/tools/describe @@ -1,2 +1,3 @@ #!/bin/sh -git describe --first-parent --dirty --tags --always --match "[1-9].*" +# Add any supplied arguments. +git describe --first-parent --dirty --tags --always --match "[1-9].*" "$@"