mirror of
https://github.com/ejwa/gitinspector.git
synced 2024-09-27 18:01:30 +02:00
Fixed bug indirectly introduced with commit 0447da19
.
When reversing the git log, we forgot to take the interval into consideration; breaking the --since and--until flags.
This commit is contained in:
parent
b48c65efb1
commit
98c375a0ab
@ -142,7 +142,7 @@ class Changes:
|
|||||||
commit.add_filediff(filediff)
|
commit.add_filediff(filediff)
|
||||||
|
|
||||||
if interval.has_interval() and len(self.commits) > 0:
|
if interval.has_interval() and len(self.commits) > 0:
|
||||||
interval.set_ref(self.commits[0].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 New Issue
Block a user