We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0fda16b + b9a754a commit ecd5118Copy full SHA for ecd5118
src/setuptools_scm/git.py
@@ -13,7 +13,18 @@
13
from .utils import trace
14
from .version import meta
15
16
-DEFAULT_DESCRIBE = "git describe --dirty --tags --long --match *[0-9]*"
+# If testing command in shell make sure to quote the match argument like
17
+# '*[0-9]*' as it will expand before being sent to git if there are any matching
18
+# files in current directory.
19
+DEFAULT_DESCRIBE = [
20
+ "git",
21
+ "describe",
22
+ "--dirty",
23
+ "--tags",
24
+ "--long",
25
+ "--match",
26
+ "*[0-9]*",
27
+]
28
29
30
class GitWorkdir(Workdir):
0 commit comments