diff options
author | Marc Cornellà <hello@mcornella.com> | 2022-01-24 18:32:36 +0100 |
---|---|---|
committer | Marc Cornellà <hello@mcornella.com> | 2022-01-24 18:32:36 +0100 |
commit | fc40b53e6460560ed9b256deb87f2165f8d48f1f (patch) | |
tree | 1be16b3b555946b29b974894b5c74c3a1e0e67c2 /tools/upgrade.sh | |
parent | 4417faf84cf538d6b22ec613b043f23ef4023457 (diff) | |
download | zsh-fc40b53e6460560ed9b256deb87f2165f8d48f1f.tar.gz zsh-fc40b53e6460560ed9b256deb87f2165f8d48f1f.tar.bz2 zsh-fc40b53e6460560ed9b256deb87f2165f8d48f1f.zip |
style(updater): silence `git pull` output and show errors in English
Diffstat (limited to 'tools/upgrade.sh')
-rwxr-xr-x | tools/upgrade.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/upgrade.sh b/tools/upgrade.sh index 55412062a..b6cb10b5a 100755 --- a/tools/upgrade.sh +++ b/tools/upgrade.sh @@ -194,7 +194,7 @@ last_commit=$(git rev-parse "$branch") # Update Oh My Zsh printf "${BLUE}%s${RESET}\n" "Updating Oh My Zsh" -if git pull --rebase $remote $branch; then +if LANG= git pull --quiet --rebase $remote $branch; then # Check if it was really updated or not if [[ "$(git rev-parse HEAD)" = "$last_commit" ]]; then message="Oh My Zsh is already at the latest version." |