Closed yaahc closed 2 years ago
cargo-update
appears to be using version 0.11 of git which is several years old. I believe this was fixed a long time ago, so I'm going to close. If you can reproduce with the latest version of git2, feel free to reopen.
I ran into this when trying to run https://github.com/nabijaczleweli/cargo-update
When I ran the command I got the following error, though originally it didn't include the source error from
git2
in the output, so the git2 part of the error was from me editing their source before rerunning it:My .gitconfig contains the following keys (after fixing it):
The
map-styles
entry is what broke it. Commenting it out fixed the error. These keys are used by https://github.com/dandavison/delta for --color-moved support and were copied from https://github.com/dandavison/delta/blob/master/themes.gitconfig#L279-L283. I don't think I did this the standard or proper way but it was the only way I managed to get that color-moved stuff to work. Feel free to close this if you think it's an issue with my delta config rather than git2 and I'll move it to their repo.