mirror of
https://github.com/microsoft/debugpy.git
synced 2025-12-23 08:48:12 +00:00
Disable 'dirty' flag for version numbers.
This commit is contained in:
parent
9eb55acd7c
commit
04be0aefa6
1 changed files with 2 additions and 1 deletions
|
|
@ -1046,7 +1046,8 @@ def git_pieces_from_vcs(tag_prefix, root, verbose, run_command=run_command):
|
|||
|
||||
# if there is a tag matching tag_prefix, this yields TAG-NUM-gHEX[-dirty]
|
||||
# if there isn't one, this yields HEX[-dirty] (no NUM)
|
||||
describe_out, rc = run_command(GITS, ["describe", "--tags", "--dirty",
|
||||
describe_out, rc = run_command(GITS, ["describe", "--tags",
|
||||
#"--dirty",
|
||||
"--always", "--long",
|
||||
"--match", "%s*" % tag_prefix],
|
||||
cwd=root)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue