echo "Cannot chdir to ../mmotm" 1>&2
continue
}
- rsync -avHPz --exclude .git\* --exclude broken-out.tar.gz --delete ozlabs.org::akpm/mmotm/. .
+ rsync -az --partial --exclude .git\* --exclude broken-out.tar.gz --delete ozlabs.org::akpm/mmotm/. . || {
+ git reset --hard
+ echo "Fetcing Andrew's tree failed" 1>&2
+ cd "$origwd"
+ continue
+ }
git add -A .
[ "$(git status --porcelain)" ] &&
git commit -m "$(head -n 1 .DATE)"