We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent df9c063 commit 49d48b1Copy full SHA for 49d48b1
tools/luthier.py
@@ -12,7 +12,7 @@
12
13
def gitVersion():
14
gitVersionString = sp.check_output(['git', '--version'])
15
- gitVersion = gitVersionString.decode('utf-8').strip().split()[-1]
+ gitVersion = gitVersionString.decode('utf-8').strip().split()[2]
16
components = gitVersion.split('.')
17
return { 'major': int(components[0]), 'minor': int(components[1]), 'patch': int(components[2]) }
18
0 commit comments