-
-
Notifications
You must be signed in to change notification settings - Fork 139
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
a freshly initialized repository without commits fails here #292
Comments
This is Git internal behaviour, so I'd keep it the same. I just tested it in my terminal:
We could parse the exception and check for this exact string, but if Git returns this, I'd say let's leave it 😄 |
Fair, but didn't ask to do a git rev-list HEAD, I was asking to traverse_commits :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
doing only a 'git init' and then try to traverse commits on that repo, will fail here:
pydriller/pydriller/repository.py
Line 236 in 8bfbbbc
relates to this:
https://stackoverflow.com/questions/15628720/fatal-bad-default-revision-head
Expected behavior:
either:
I'm on git 2.39.3, MacOS.
The text was updated successfully, but these errors were encountered: