Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AttributeError: 'Commit' object has no attribute 'sha' #234

Open
winstonkgseah opened this issue Sep 22, 2022 · 1 comment
Open

AttributeError: 'Commit' object has no attribute 'sha' #234

winstonkgseah opened this issue Sep 22, 2022 · 1 comment

Comments

@winstonkgseah
Copy link

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.

@adam-waldenberg
Copy link
Member

Very strange. What version of git are you running?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants