From 501f68603e9c756b8bcd354531968a226ae60376 Mon Sep 17 00:00:00 2001 From: Michiel Scholten Date: Sat, 26 Jul 2014 22:26:41 +0200 Subject: [PATCH] Silenced the remote update and made the noop cleaner --- bin/update_repos | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/update_repos b/bin/update_repos index d5ab06c..2603160 100755 --- a/bin/update_repos +++ b/bin/update_repos @@ -58,7 +58,7 @@ for LINE in "${LINES[@]}"; do if [ -e $REPODIR ]; then cd $REPODIR - git remote update > /dev/null + git remote update &> /dev/null LOCAL=$(git rev-parse @) REMOTE=$(git rev-parse @{u}) @@ -69,7 +69,7 @@ for LINE in "${LINES[@]}"; do echo -e "[\e[31mX\e[0m] $GRP/$REPODIR changed - $WORKSPACE/$GRP/$REPODIR" elif [ $LOCAL = $REMOTE ]; then # Up-to-date - echo -e "[\e[32mN\e[0m] $GRP/$REPODIR" + echo -e "[\e[32m-\e[0m] $GRP/$REPODIR" elif [ $LOCAL = $BASE ]; then # Need to pull echo -e "[\e[33mU\e[0m] $GRP/$REPODIR"