AttributeError: 'Commit' object has no attribute 'sha'
winstonkgseah opened this issue · 1 comments
Everything seems to work fine until after completing Resolving deltas: 100% (.../...) then this:
Traceback (most recent call last):
File "/usr/pkg/bin/gitinspector-3.9", line 33, in
sys.exit(load_entry_point('gitinspector==0.4.4', 'console_scripts', 'gitinspector')())
File "/usr/pkg/lib/python3.9/site-packages/gitinspector/gitinspector.py", line 184, in main
run.output()
File "/usr/pkg/lib/python3.9/site-packages/gitinspector/gitinspector.py", line 75, in output
outputable.output(changes.ChangesOutput(self.hard))
File "/usr/pkg/lib/python3.9/site-packages/gitinspector/changes.py", line 277, in init
self.changes = get(hard)
File "/usr/pkg/lib/python3.9/site-packages/gitinspector/changes.py", line 268, in get
changes = Changes(hard)
File "/usr/pkg/lib/python3.9/site-packages/gitinspector/changes.py", line 217, in init
interval.set_ref(self.commits[-1].sha)
AttributeError: 'Commit' object has no attribute 'sha'
Any advice most appreciated.
Very strange. What version of git are you running?