projects
/
cdist.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9283c3a
)
Add --tags so we see 'normal' tags.
author
Carl Hetherington
<cth@carlh.net>
Sun, 25 Mar 2018 01:39:33 +0000
(
02:39
+0100)
committer
Carl Hetherington
<cth@carlh.net>
Sun, 25 Mar 2018 01:39:33 +0000
(
02:39
+0100)
cdist
patch
|
blob
|
history
diff --git
a/cdist
b/cdist
index 6c7847232f430aa1e596629a35b8b306931a351d..fece7574c1dc87896094d0c5f06d0adb6e459b72 100755
(executable)
--- a/
cdist
+++ b/
cdist
@@
-745,7
+745,7
@@
class Tree(object):
try:
self.version = Version(v)
except:
- self.version = Version(subprocess.Popen(shlex.split('git -C %s describe --abbrev=0' % proj), stdout=subprocess.PIPE).communicate()[0][1:])
+ self.version = Version(subprocess.Popen(shlex.split('git -C %s describe --
tags --
abbrev=0' % proj), stdout=subprocess.PIPE).communicate()[0][1:])
os.chdir(cwd)