Skip to content
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

mingw-w64-git not found? #3003

Closed
prasannavl opened this issue Oct 2, 2017 · 4 comments
Closed

mingw-w64-git not found? #3003

prasannavl opened this issue Oct 2, 2017 · 4 comments

Comments

@prasannavl
Copy link

prasannavl commented Oct 2, 2017

Hi, I'm trying to install mingw version of the git, with the potential goal of experimenting with replacing the git official package with mingw built ones by adding a set of symlinks to the system PATH of the necessary commands.

However, I was surprised to see that I couldn't actually install it with pacman, although I do see a package of the same name in this repo: pacman -S mingw-w64-git/pacboy -S git:m fails with target not found.

Perhaps, I misunderstood something? Would appreciate any help. Thanks.

@ArekPiekarz
Copy link
Contributor

From pacboy help:

For 64-bit MSYS2, name:i means i686-only
For 64-bit MSYS2, name:x means x86_64-only
For MSYS shell, name:m means mingw-w64
For all shells, name: disables any translation for name
For all shells, repository::name means repository/name

I don't know which shell you used, but I'm using 64-bit one and this worked for me:
pacboy sync git:

@prasannavl
Copy link
Author

prasannavl commented Oct 2, 2017

@ArekPiekarz, unless I've mistaken, what you just installed was the msys variant of git from the msys-packages repo. It's not the mingw variant that's in this repo, that's meant to run natively without a POSIX layer. They're not the same. The first line of my post also hints at why the differentiation is vital.

@elieux
Copy link
Member

elieux commented Oct 2, 2017

@prasannavl, correct.

Our mingw-w64-git build is not too great due to our path conversion heuristic and the hybrid nature of Git. AFAIK that's why it's not part of the distribution. See Git for Windows for a way to install mingw-w64-git.

I'm closing this ticket as a duplicate, but if you want to discuss further, let's.

@elieux elieux closed this as completed Oct 2, 2017
@prasannavl
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants