forked from git/git
-
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
Installer modifies path even when it says it won't #438
Comments
My apologies, after digging through the source I realized this should have been filed in build-extras. My suggestion would be to either:
My personal preference would be 1, since I dislike when a program tends to muck with my hand-edited PATH entries. I've submitted a pull request for build-extras that does the first option. |
jeffhostetler
pushed a commit
to jeffhostetler/git
that referenced
this issue
Oct 13, 2021
…ntil user upgrades In 'git-update-git-for-windows', there is a recently_seen variable that is loaded from Git config. This is intended to allow users to say "No, I don't want that version of Git for Windows." If users say no, then they are not reminded. Ever. We want users of microsoft/git to be notified repeately until they upgrade. The first notification might be dismissed because they don't want to interrupt their work. They should get the picture within a few reminders and upgrade in a timely fashion. --- I tested this by running the `sed` command in my copy of `git-for-windows/build-extra`, and then replacing my installed version of `git-update-git-for-windows` in `C:\Program Files\Git\mingw64\bin`. Along the way, I discovered a bug in the script and created git-for-windows/build-extra#382. If you do your own testing, you will likely need that fix, too. I also noticed a misplaced `&&` due to copying some existing scripts out of the workflow into a bash script so I could test all of the scripts simultaneously.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
During the install process, the user is asked to select an option for how to use Git from the command line. The first option is "Use Git from Git Bash only" which claims "...your PATH will not be modified at all."
I had hand-added PATH entries referencing the Git install location (e.g.: C:\Program Files\Git\cmd), and after the install finishes with the first option selected, the hand-added PATH entries were gone.
The first option should do what it says and not modify PATH whatsoever.
The text was updated successfully, but these errors were encountered: