- Sponsor
-
Notifications
You must be signed in to change notification settings - Fork 934
.submodules leads to AttributeError: 'Blob' object has no attribute '_name' #890
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
Comments
What's bad about this error in particular is that the GitPython command will work in some cases, e.g. on a repo.diff('HEAD'), it raises the error here Line 113 in 146202c
[] and the error is printed to stderr instead of the diff command failing.
We're encountering this error with a
and a
Not sure why git only lists 3 submodules in .git/config but 4 in .gitmodules. The stacktrace we see is
|
Using GitPython's submodules should be avoided as it's not a complete implementation anymore. With this issue in particular I would hope that the latest release improved the situation there as typing should make invalid accesses impossible. Apparently that's not the case here :/. |
we have an obscure use case where there is a symlink to a submodule
and that leads to
GitPython is current git master 2.1.10-43-gc73b239 . Tarball with that test repos hierarchy is available from http://www.onerussian.com/tmp/datalad_temp_test_bf1886qhfzdeik.tgz
The text was updated successfully, but these errors were encountered: