-
Notifications
You must be signed in to change notification settings - Fork 2.6k
cargo new --bin
fails with default VCS
#4173
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
Oh dear, sounds bad! Do you have a global |
I do have a global gitconfig (I actually keep mine at The problem seems to be this: in my global gitconfig, I have This also could explain the error from Cargo about "could not find '' to stat." I did a quick perusal of the git man pages to see if setting |
Ah ok, thanks for the clarification! We've had other bugs related to this in the past but this may just be a part of how libgit2 handles the |
Sure: libgit2/libgit2#4271 |
update: there is a fix in libgit2 for this, but it doesn't look to me like libgit2 has done a release since then for libgit2-sys to upgrade to yet (libgit2-sys is currently at libgit2 15e1193, 0.26.0). |
I think this is fixed (in master) now:
|
Awesome, thanks @dwijnand! |
Is there something I'm missing?
Thanks for your help.
The text was updated successfully, but these errors were encountered: