]> git.ozlabs.org Git - next-scripts/blobdiff - to_ozlabs
check_commits: run check_fixes as well
[next-scripts] / to_ozlabs
index 8906441eb6066121a83317176c86ac8043b10510..25a8bf5d0236b3e65730464ed58db8538f55db6c 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,13 +26,15 @@ done
 - /next-2*/
 + .git/
 + .git/config
++ .git/hooks
++ .git/hooks/**
 + /next/.git/rr-cache/
 + /next/.git/rr-cache/**
 EOF
        for i in $GIT_REPOS; do
                echo "- $i/**"
        done
-} | rsync -avHP --include-from - --delete . ozlabs.org:kernels/next/.
+} | rsync -avHP --noatime --include-from - --delete . ozlabs.org:kernels/next/.
 
 ssh ozlabs.org "touch kernels/NEXT-DONE"