summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMarc Cornellà <hello@mcornella.com>2022-01-24 18:32:36 +0100
committerMarc Cornellà <hello@mcornella.com>2022-01-24 18:32:36 +0100
commitfc40b53e6460560ed9b256deb87f2165f8d48f1f (patch)
tree1be16b3b555946b29b974894b5c74c3a1e0e67c2 /tools
parent4417faf84cf538d6b22ec613b043f23ef4023457 (diff)
downloadzsh-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')
-rwxr-xr-xtools/upgrade.sh2
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."