mirror of
https://github.com/ejwa/gitinspector.git
synced 2024-12-22 13:42:14 +01: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
1 changed files with 1 additions and 1 deletions
|
@ -142,7 +142,7 @@ class Changes:
|
|||
commit.add_filediff(filediff)
|
||||
|
||||
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:
|
||||
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