From 6c0b914e81cc002d48479074dffe903bf6170a87 Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Sun, 15 Sep 2013 16:06:31 +0200 Subject: [PATCH] fix git version detection --- vcs.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/vcs.py b/vcs.py index 1494478..acb23e8 100644 --- 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): -- 2.30.2