-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
cargo build
fails with parse error on my ~/.gitconfig
#4777
Labels
A-git
Area: anything dealing with git
Comments
Probably a hickup in libgit. Where does your rustc come from, homebrew or rustup? |
Ah yes right now Cargo uses libgit2, not the system |
Did this get resolved? Move to close? |
Will double-check tonight. |
12 tasks
Filed upstream issue libgit2/libgit2#5459 |
Merged
ehuss
pushed a commit
to ehuss/cargo
that referenced
this issue
Oct 14, 2020
Update git2. Closes rust-lang#8517 Closes rust-lang#8588 Closes rust-lang#8352 Closes rust-lang#4777 Closes rust-lang#8746 I only added a test for one of these. I can add for the others if you want.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In a brand new repo that happens to have
hyper
as a dependency, I get:I just
git clone
d this repo, so I know my.gitconfig
does not have any parse errors, and the line in question does not define a configuration key: https://github.com/laughinghan/dotfiles/blob/cd846f8069fb10fb25df072da50ec6d9f25f98e7/.gitconfig#L34Obviously this is a pretty crazy
.gitconfig
, but it's a valid one, why doescargo build
care? Doesn't it just use the system'sgit
? (If you're curious, that crazy alias in question,git sgrep
, is likegit grep
but instead of only searching the repo you're in, it will also recurse into submodules.)The text was updated successfully, but these errors were encountered: