Skip to content

Commit

Permalink
git update-git-for-windows: make silent installation very silent
Browse files Browse the repository at this point in the history
The command successfully identifies and downloads the update however when it
triggers the update it causes a license screen to display which requires
user interaction. Therefore the update can't be fully automated.

This is due to the installer only using the /SILENT option on the new
installer. Let's add also the /VERYSILENT option so that the installer
works as expected.

Signed-off-by: Leo D'Arcy <[email protected]>
Signed-off-by: Johannes Schindelin <[email protected]>
  • Loading branch information
Leo D'Arcy authored and dscho committed Mar 20, 2020
1 parent a97ce2d commit e119d03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git-extra/git-update-git-for-windows
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ update_git_for_windows () {
echo "Downloading $filename" >&2
fi
curl -# -L -o $installer $download || return
start "" "$installer" /SILENT
start "" "$installer" /SILENT /VERYSILENT

# Kill all Bash processes (which will let MinTTY quit, too)"
#
Expand Down

0 comments on commit e119d03

Please sign in to comment.