Skip to content

Commit 1b2ea95

Browse files
Merge pull request #157 from sschuberth/node-g-fallback
Fix the node for Git to be prefixed with 'g' also in the fallback
2 parents a3d8d09 + 6e40668 commit 1b2ea95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setuptools_scm/git.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ def parse(root, describe_command=DEFAULT_DESCRIBE, pre_parse=warn_on_shallow):
9696
return meta(
9797
'0.0',
9898
distance=wd.count_all_nodes(),
99-
node=rev_node,
99+
node='g' + rev_node,
100100
dirty=dirty,
101101
)
102102

0 commit comments

Comments
 (0)