Don't use git -c

This commit is contained in:
Florian Bruhin 2014-02-10 19:21:52 +01:00
parent 6cf85ff52e
commit 903d9e7557

View File

@ -75,7 +75,7 @@ def _git_str():
return None
try:
return subprocess.check_output(
['git', '-C', gitpath, 'describe', '--tags', '--dirty',
'--always']).decode('UTF-8').strip()
['git', 'describe', '--tags', '--dirty', '--always'],
cwd=gitpath).decode('UTF-8').strip()
except (subprocess.CalledProcessError, FileNotFoundError):
return None