-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
git(-with-openssh): Restore git.exe shim
#7531
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
base: master
Are you sure you want to change the base?
Conversation
|
All changes look good. Wait for review from human collaborators. git-with-openssh
git
|
┏[ ~]
└─> Get-Command -Name 'git.exe' -CommandType Application
CommandType Name Version Source
----------- ---- ------- ------
Application git.exe 2.52.0.1 D:\Software\Scoop\Global\apps\Git\current\cmd\git.exe
┏[ ~]
└─> git --version
git version 2.52.0.windows.1 |
|
Additionally, I removed |
This is only true if there would be no existing third party integration expecting it to be there, also this means that after installing adding the shims folder to path is not enough which previously was. |
In practice, this does not prevent users from immediately using ┏[ ~]
└─> scoop list ldc
Installed apps matching 'ldc':
┏[ ~]
└─> $env:Path -match 'ldc'
False
┏[ ~]
└─> scoop install ldc
Installing 'ldc' (1.41.0) [64bit] from 'main' bucket
Loading ldc2-1.41.0-windows-x64.7z from cache.
Checking hash of ldc2-1.41.0-windows-x64.7z ... ok.
Extracting ldc2-1.41.0-windows-x64.7z ... done.
Linking D:\Software\Scoop\Local\apps\ldc\current => D:\Software\Scoop\Local\apps\ldc\1.41.0
Adding D:\Software\Scoop\Local\apps\ldc\current\bin to your path.
'ldc' (1.41.0) was installed successfully!
┏[ ~]
└─> $env:Path -match 'ldc'
True
┏[ ~]
└─> Get-Command -Name 'ldc2.exe' -CommandType Application
CommandType Name Version Source
----------- ---- ------- ------
Application ldc2.exe 0.0.0.0 D:\Software\Scoop\Local\apps\ldc\current\bin\ldc2.exe
|
git.exe shim
git.exe shimgit.exe shim
|
Is there a conflict if the |
Under normal usage, there should be no conflicts. Which The following content is newly added: However, do we really need to recreate the I previously fell into a habitual line of thinking and did not consider shells other than PowerShell. That said, the situation where The likelihood of all these conditions being met simultaneously is very low. It is also reasonable to assume that most users would not keep using the same session for an extended period without reloading environment variables. In my view, a one-time occurrence is acceptable, as this behavior is consistent with how traditional installers work. Do we really want to introduce an approach that appears inherently contradictory in order to address an issue that is unlikely to occur? |
The recent update of the git.json and git-with-openssh.json remove the shim for git.exe which was previously there. This update returns it back an not only git-bash.exe should be exposed in the shims
Relates to #7459
<manifest-name[@version]|chore>: <general summary of the pull request>