From 772ee8aae3162a9c3b6f62ff98de52ea8318c5c3 Mon Sep 17 00:00:00 2001 From: Stephen Rothwell Date: Wed, 12 Jul 2023 12:20:06 +1000 Subject: [PATCH] to_ozlabs: just rsync the whole thing This actually reduces the data on ozlabs.org as we have pruned the main repo before we run this --- to_ozlabs | 31 +------------------------------ 1 file changed, 1 insertion(+), 30 deletions(-) diff --git a/to_ozlabs b/to_ozlabs index 7822c68..5b0a440 100755 --- a/to_ozlabs +++ b/to_ozlabs @@ -12,44 +12,15 @@ fi printf 'Updating Linus'\'' tree\n' ssh ozlabs.org 'cd kernels/linus.git; git remote update' -for i in $GIT_REPOS; do - printf 'Pushing %s\n' "$i" - ( cd "$i" && git push --prune bilbo ) - if [ "${i%.git}" = "$i" ]; then - ssh ozlabs.org 'cd kernels/next/'"$i"'; git reset --hard' - fi -done - -{ - cat <