From: Stephen Rothwell Date: Mon, 8 Sep 2014 15:28:33 +0000 (+1000) Subject: to_ozlabs: keep the working trees up to date X-Git-Url: https://git.ozlabs.org/?a=commitdiff_plain;h=c88391b995bd9d9111e98b717901ae2ca376cad8;p=next-scripts to_ozlabs: keep the working trees up to date --- diff --git a/to_ozlabs b/to_ozlabs index 8906441..7774734 100755 --- a/to_ozlabs +++ b/to_ozlabs @@ -10,8 +10,8 @@ ssh ozlabs.org "cd kernels/linus.git; git remote update" for i in $GIT_REPOS; do echo "Pushing $i" ( cd $i; git push bilbo ) -# [ "${i%.git}" = "$i" ] && -# ssh ozlabs.org "cd kernels/next/$i; git reset --hard" + [ "${i%.git}" = "$i" ] && + ssh ozlabs.org "cd kernels/next/$i; git reset --hard" done {