]> git.ozlabs.org Git - next-scripts/commitdiff
to_ozlabs: keep the working trees up to date
authorStephen Rothwell <sfr@canb.auug.org.au>
Mon, 8 Sep 2014 15:28:33 +0000 (01:28 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 8 Sep 2014 15:28:33 +0000 (01:28 +1000)
to_ozlabs

index 8906441eb6066121a83317176c86ac8043b10510..77747345d21279dace35954e9fb33ed51717a914 100755 (executable)
--- 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
 
 {