ejwa / gitinspector

:bar_chart: The statistical analysis tool for git repositories
GNU General Public License v3.0
2.34k stars 324 forks source link

AttributeError: 'Commit' object has no attribute 'timestamp' #220

Open yoshivda opened 3 years ago

yoshivda commented 3 years ago

When running gitinspector (on a non-public repository) I get the following error:

File "[path]/changes.py", line 82, in __lt__
    return self.timestamp.__lt__(other.timestamp) # only used for sorting; we just consider the timestamp.
AttributeError: 'Commit' object has no attribute 'timestamp'

The call to Commit.__init__ is made with an empty string, but I have no clue why.

ojacques commented 3 years ago

@yoshivda - just had the same problem, which I got rid with this workaround: https://github.com/ejwa/gitinspector/issues/118#issuecomment-258506482