mirror of
https://github.com/ejwa/gitinspector.git
synced 2024-11-16 08:38:26 +01:00
The interval check was referencing commits instead of self.commits.
This commit is contained in:
parent
a6c05cc619
commit
582ffe7246
1 changed files with 2 additions and 2 deletions
|
@ -208,8 +208,8 @@ class Changes:
|
||||||
|
|
||||||
self.commits = [item for sublist in self.commits for item in sublist]
|
self.commits = [item for sublist in self.commits for item in sublist]
|
||||||
|
|
||||||
if interval.has_interval() and len(commits) > 0:
|
if interval.has_interval() and len(self.commits) > 0:
|
||||||
interval.set_ref(commits[-1].sha)
|
interval.set_ref(self.commits[-1].sha)
|
||||||
|
|
||||||
if len(self.commits) > 0:
|
if len(self.commits) > 0:
|
||||||
self.first_commit_date = datetime.date(int(self.commits[0].date[0:4]), int(self.commits[0].date[5:7]),
|
self.first_commit_date = datetime.date(int(self.commits[0].date[0:4]), int(self.commits[0].date[5:7]),
|
||||||
|
|
Loading…
Reference in a new issue