projects
/
mass-build.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
6b13417
)
fix git version detection
author
Ralf Jung
<post@ralfj.de>
Sun, 15 Sep 2013 14:06:31 +0000
(16:06 +0200)
committer
Ralf Jung
<post@ralfj.de>
Sun, 15 Sep 2013 14:06:31 +0000
(16:06 +0200)
vcs.py
patch
|
blob
|
history
diff --git
a/vcs.py
b/vcs.py
index 14944788a5b7b2259fd7ae07618f16d7dc17e959..acb23e8b8cdb2a418d38e359bf766c8a3a5a2e10 100644
(file)
--- a/
vcs.py
+++ b/
vcs.py
@@
-90,8
+90,7
@@
class Git:
print()
def version(self):
- repo = git.Repo(self.folder)
- v = repo.git.describe()
+ v = git.describe(split=False)
return v[len(get_non_digit_prefix(v)):] # remove the non-digit prefix from v (so that it starts with a number)
def checkVersions(self):