#!/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
for i in $GIT_REPOS; do
echo "Pushing $i"
- ( cd $i; git push bilbo )
+ ( cd $i; git push --prune bilbo )
[ "${i%.git}" = "$i" ] &&
ssh ozlabs.org "cd kernels/next/$i; git reset --hard"
done
- gitk.cache
- /merge.debug
- /merge.log
-- /quilt-import.log
- /akpm-import.log
- /summ
- /patch-*-next-2*
- /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 --open-noatime --include-from - --delete . ozlabs.org:kernels/next/.
ssh ozlabs.org "touch kernels/NEXT-DONE"