bddecfed58058910f0aeb78d9010f4f8f6d83692

Author
Marc Cornellà <hello@mcornella.com>
Committer
Marc Cornellà <hello@mcornella.com>
Date

Message

style(updater): remove statl from `git pull`

Diff

 1diff --git a/tools/upgrade.sh b/tools/upgrade.sh
 2index 25381de7e52c1c89fda550348e79f271c455ae10..55412062aad4d85bc381943eeea7c98a67f7f52e 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 --stat $remote $branch; then
10+if git pull --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."