From 35e13db889e6af76191b0a07de06ddb95b67b5db Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 18 Mar 2014 16:29:18 +0000 Subject: Fix for newer git (I think...) --- cdist | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cdist b/cdist index c463cba..f238038 100755 --- a/cdist +++ b/cdist @@ -753,6 +753,9 @@ elif args.command == 'latest': if m: tags = m.group(1).split(', ') for t in tags: + s = t.split() + if len(s) > 1: + t = s[1] if len(t) > 0 and t[0] == 'v': latest = t[1:] -- cgit v1.2.3