]> git.ozlabs.org Git - next-scripts/blobdiff - to_ozlabs
do_build: fix typo
[next-scripts] / to_ozlabs
index 8906441eb6066121a83317176c86ac8043b10510..268c09ed4ab7434891b4fcfaddebe12ded43dc55 100755 (executable)
--- a/to_ozlabs
+++ b/to_ozlabs
@@ -1,6 +1,6 @@
 #!/bin/bash
 
-GIT_REPOS="next next-history.git quilt next-fixes tools etc mmotm init"
+GIT_REPOS="next next-history.git quilt next-fixes tools etc mmotm"
 
 cd ~/kernels/next
 
@@ -9,9 +9,9 @@ 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"
+       ( cd $i; git push --prune bilbo )
+       [ "${i%.git}" = "$i" ] &&
+               ssh ozlabs.org "cd kernels/next/$i; git reset --hard"
 done
 
 {
@@ -26,6 +26,8 @@ done
 - /next-2*/
 + .git/
 + .git/config
++ .git/hooks
++ .git/hooks/**
 + /next/.git/rr-cache/
 + /next/.git/rr-cache/**
 EOF