Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

WinGit: overwrite existing files, if any

There is no excuse: the user specified where git should be installed
to, and if there are files already, we should overwrite them, lest
the user use an outdated version, in spite of having installed a new
one.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
  • Loading branch information...
commit 7dfd4931831f828a15f78091bb095a1c5d95a083 1 parent 38fac59
@dscho dscho authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  share/WinGit/release.sh
View
2  share/WinGit/release.sh
@@ -62,7 +62,7 @@ exit
echo 'GUIFlags="8+32+64+256+4096"' &&
echo 'GUIMode="1"' &&
echo 'InstallPath="%PROGRAMFILES%\\Git"' &&
- echo 'OverwriteMode="2"' &&
+ echo 'OverwriteMode="0"' &&
echo 'RunProgram="\"%%T\\bin\\wish.exe\" \"%%T\install.tcl\" \"%%T\""' &&
echo ';!@InstallEnd@!7z' &&
cat $TARGET7) > "$TARGET"
Please sign in to comment.
Something went wrong with that request. Please try again.