fc40b53e6460560ed9b256deb87f2165f8d48f1f
- Author
- Marc Cornellà <hello@mcornella.com>
- Committer
- Marc Cornellà <hello@mcornella.com>
- Date
Message
style(updater): silence `git pull` output and show errors in English
Diff
1diff --git a/tools/upgrade.sh b/tools/upgrade.sh
2index 55412062aad4d85bc381943eeea7c98a67f7f52e..b6cb10b5af7579dfad598f3089debc2c5e81946f 100755
3--- a/tools/upgrade.sh
4+++ b/tools/upgrade.sh
5@@ -194,7 +194,7 @@ last_commit=$(git rev-parse "$branch")
6
7 # Update Oh My Zsh
8 printf "${BLUE}%s${RESET}\n" "Updating Oh My Zsh"
9-if git pull --rebase $remote $branch; then
10+if LANG= git pull --quiet --rebase $remote $branch; then
11 # Check if it was really updated or not
12 if [[ "$(git rev-parse HEAD)" = "$last_commit" ]]; then
13 message="Oh My Zsh is already at the latest version."