-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Git Credential Manager Core missing in ARM64 libexec folder #3015
Comments
It gets added to libexec here |
Right, the entire process is a bit complex. As @rimrul pointed out, Git Credential Manager Core is built as a separate Pacman package. (In reality, it is actually not built, but the pre-built binaries are copied from https://github.com/microsoft/Git-Credential-Manager-Core/releases). Since there is no ARM64 support in MSYS2 yet, it would be relatively tough to provide One thing we could easily do as a work-around for ARM64, though, would be to drop a shell script into #!/bin/sh
exec /mingw32/libexec/git-core/git-credential-manager-core.exe "$@" |
@dscho I can confirm that approach works 👍🏼 had to run Would it make sense to provide a PR against |
I'd rather generate it, to be honest. It's only a workaround until we get a proper solution. |
What do you mean by |
Hmm. I thought we could generate it in But I really don't want it in non-ARM64 artifacts... or for that matter, in the SDKs. |
What about we add it to EDIT: wait... but what exactly would we be doing in that step? Dynamically creating |
I think that could work, if we put the script into the provided directory's |
The final thing I'm missing in the PortableGit package for ARM64 is the Git Credential Manager Core. Because of this, when doing operations like
git push
from within acmd
/powershell
terminal, results in:Notice the difference in the amount of items in the
arm64/libexec
vsmingw32/libexec
:I found a reference to
git-credential-manager-core
inplease.sh
, but not entirely sure where in the whole build process it is invoked. Could someone point me in the right direction as to where this is added tolibexec
? We should be able to use thegcmcore-win-x86
(x86) version on ARM because it can leverage 32-bit emulation.Thanks in advance!
The text was updated successfully, but these errors were encountered: