microsoft / git

A fork of Git containing Microsoft-specific patches.
http://git-scm.com/
Other
782 stars 92 forks source link

microsoft-git version 2.44.0.vfs.0.1 is broken on Mac #634

Closed sumavangala closed 7 months ago

sumavangala commented 7 months ago

microsoft-git was updated on 3/22 to version 2.44.0.vfs.0.1 which seem to be broken on Mac. After updating, git checkout and push fails with the following error message:

% git push dyld[73077]: Library not loaded: /opt/homebrew/opt/curl/lib/libcurl.4.dylib Referenced from: <7651D6CC-F49C-3D98-936F-6A41E9C2DCEE> /usr/local/git/libexec/git-core/git-remote-https Reason: tried: ‘/opt/homebrew/opt/curl/lib/libcurl.4.dylib’ (no such file), ‘/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/opt/curl/lib/libcurl.4.dylib’ (no such file), ‘/opt/homebrew/opt/curl/lib/libcurl.4.dylib’ (no such file) error: git-remote-https died of signal 6

Curl is explicitly distributed as a keg in brew and calls out the caveat that it can conflict with the version of curl that comes with the OS.

There is no need for git to take a dependency on brew’s curl; we used the install_name_tool to hack the reference back to /usr/lib/libcurl.4.dylib and it works fine.

eschwieb commented 7 months ago

See also https://github.com/microsoft/homebrew-git/issues/79

jeffhostetler commented 7 months ago

@sumavangala @eschwieb

I have a RC preview release to address this. https://github.com/microsoft/git/releases/tag/v2.44.0.vfs.0.2.rc0 Please give this a try.

jeffhostetler commented 7 months ago

Please give v2.44.0.vfs.0.2 a try

jeffhostetler commented 7 months ago

This has been fixed in v2.44.0.vfs.0.2, so I'm closing this issue.