-
-
Notifications
You must be signed in to change notification settings - Fork 906
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
Needs better error message when repository is rejected by git
(related to safe.directory
)
#1616
Comments
Do I understand correctly that the repository isn't trusted by |
Correct! |
git
(related to safe.directory
)
Perfect! If you don't mind, could you look at my title and formulate the issue so that it matches the title more? It could be in the form of |
Ready! Thanks for the help! |
Hi @Byron, could you help me to assign the ticket, I will work on it |
Thanks a lot! It’s assigned. |
Should this issue be closed as completed (in #1746)? |
Thanks for the reminder! |
Initial state:
Executions using the latest version of Git (version 2.39.3), in a repository owned by other user.
Current behavior:
Executing:
Ambiguos error is reported:
Expected behavior:
More clear an specific error message or even better a parameter in git.repo() to handle the dubious ownership
Notes:
Doing some debug found that the new version of Git has enable by default a check for dubious ownership that is not handle gracefully by GitPython.
A work around for this is add an exception in Git to consider the file safe
git config --global --add safe.directory <dir path>
The text was updated successfully, but these errors were encountered: