-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Make the win installer more robust #496
Conversation
User visible: * Also accept the git install path (and not the mingw64 subdir) as a user supplied install location. Make it the new default and warn the user if a mingw64 dir is supplied (=this dir is not checked, so it might be anywhere...) * Find git.exe in path and use that as an install location * Add error|status messages and output less noise (robocopy) * do some check if column.exe is not found... * adjust the installation text for windows... not user visible: * more.exe does not work when used in a cmd which has a unicode codepage -> save the current codepage and set a sane default during the install * do some "magic" with quotes around path variables -> makes it work with pathes with spaces in it (both final git dir and the git-extra checkout) * Do not leak variables to the sourounding interpreter
BTW: would it make sense to ask the git for windows people to include column.exe in the installer? |
@JanSchulz I think you have made a better one.:smile: |
I added a bug in git for windows to include column.exe: git-for-windows/git#586 |
👍 |
1 similar comment
👍 |
Make the win installer more robust
column.exe seems to get included in the git for windows installer: git-for-windows/build-extra#92 |
Make the win installer more robust
User visible:
supplied install location. Make it the new default and warn the user if
a mingw64 dir is supplied (=this dir is not checked, so it might be
anywhere...)
not user visible:
-> save the current codepage and set a sane default during the install
pathes with spaces in it (both final git dir and the git-extra checkout)