Skip to content

[Uninstaller] Stop removing %Git%\bin from %PATH% #237

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

Closed
Fr0sT-Brutal opened this issue Jul 10, 2015 · 2 comments
Closed

[Uninstaller] Stop removing %Git%\bin from %PATH% #237

Fr0sT-Brutal opened this issue Jul 10, 2015 · 2 comments

Comments

@Fr0sT-Brutal
Copy link

Every time Git updates, it performs uninstall of the previous version. This silently removes \bin entry from my %PATH%. This entry I add manually and only manually it must be changed. Why the uninstaller thinks it has the right to undo things the installer didn't? Version 2.4.5 32 bit

@dscho
Copy link
Member

dscho commented Jul 10, 2015

It is actually not users' business to out-guess the installer which directory/directories to add to the PATH. That is why we have that page in the installer that asks how you want to use Git: from cmd.exe, or adding all of the Unixy tools to the PATH or none of them.

Your intended goal would probably be better served by choosing the cmd.exe option (which adds the correct directory: /cmd/ -- not /bin/, which is incorrect).

@dscho dscho closed this as completed Jul 10, 2015
@Fr0sT-Brutal
Copy link
Author

Okay, I moved my scripts and tools to \cmd and installed Git with cmd.exe option. Seems working for now. Thanks for showing the correct way.

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

2 participants