-
Notifications
You must be signed in to change notification settings - Fork 4
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
Issue running example code and using in project #14
Comments
Thanks for reporting the issue. Sorry for the issue. |
I forgot the second part of your question: the detection of the ssh config to used doesn't cover all case. What is currently "supported/tested" ?
I don't know about "error authenticating: no auth sock variable" but I'm interested to have a solution. |
What is the output of ?
does the file exist ? |
I do not have
and re-run my project, it appears to be stuck in an infinite loop. This may be caused by my code rather than a bug in the library, but I haven't looked into debugging it at all. |
@scizzorz did you find if the issue on this crate or on your side ? |
I did not. I ended up copying and pasting code from Cargo and then modifying it to suit my project's needs. Here's my modified code: https://github.com/xtfc/mold/blob/master/src/cargo.rs |
Ok, thanks for the link |
Hello!
I was really struggling to understand the
git2
callbacks for authentication and how I can make them behave the same way the standardgit
binary behaves out of the box, so this library seems extremely promising to me. Unfortunately, I've cloned the repo and tried to run the example, but it doesn't seem to work.Modifying the
git2
dependency to not disable the default features yields a different error message:This same error pops up when I try to use this library in the project I'd actually like to use it in, so it stretches beyond just the example not working. I see in #9 and in https://github.com/davidB/git2_credentials/blob/master/src/ssh_config.rs#L9 that SSH keys should be supported, but I don't know how to enable them.
If there's some gitconfig setting that I need to update, that might be helpful to know, but I would like to know more information about how and why
git
itself doesn't require that setting to work as I expect.Thanks!
The text was updated successfully, but these errors were encountered: