Reputation: 45
I found two binaries "git.exe" in my MSYS2 installation.
The first one is under the following path:
"\msys64\usr\bin"
The second one is under the following path:
"\msys64\usr\lib\git-core"
Can someone describe the difference between the two ?
Upvotes: 1
Views: 214
Reputation: 1323793
As illustrated in magit issue 2259 and commit 724ea52,
Git for Windows 2.x reorganized the directory structure so both cmd/git and bin/git are just wrappers that call the real thing
In that case, \msys64\usr\lib\git-core
is the actual one, the other being a copy or symlink.
Note that if you are using the latest Git for Windows (instead of Cygwin), you won't get that kind of duplication.
Upvotes: 1