Skip to content
Snippets Groups Projects
Commit c8066668 authored by Sébastien Helleu's avatar Sébastien Helleu
Browse files

Fix git log command in chart "commits_version"

parent 9529ef7b
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -309,8 +309,9 @@ class GitChart(object):
# v0.3.0 => 0.3.0
tag2 = re.sub('([^0-9]+)', ' ', tag).strip().replace(' ', '.')
commits[tag2] = len(
self._git_command_log([oldtag + '..' + tag if oldtag else tag,
'--pretty=oneline']))
self._git_command(['git', 'log',
oldtag + '..' + tag if oldtag else tag,
'--pretty=oneline']))
oldtag = tag
self._generate_bar_chart(commits, x_label_rotation=90)
return True
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment