mirror of
https://github.com/git/git.git
synced 2026-08-09 17:40:16 +00:00
Meta/pushall: treat two mirrors equally
This commit is contained in:
10
pushall
10
pushall
@@ -1,7 +1,8 @@
|
||||
#!/bin/sh
|
||||
|
||||
sites='ko repo github2 sfjp sf.net gob-private '
|
||||
sites='ko repo github2 sfjp sf.net'
|
||||
nexts='ko repo github2 '
|
||||
mirrors='github gob-private'
|
||||
|
||||
push_retry () {
|
||||
sites=$1
|
||||
@@ -38,8 +39,11 @@ push_retry "$sites" "$@"
|
||||
|
||||
case "$#,$*" in
|
||||
0,* | 1,-n)
|
||||
printf "github mirror: "
|
||||
git push github "$@" || exit $?
|
||||
for mirror in $mirrors
|
||||
do
|
||||
printf "$mirror mirror: "
|
||||
git push $mirror "$@" || exit $?
|
||||
done
|
||||
for topic in htmldocs manpages
|
||||
do
|
||||
printf "%s: " "$topic"
|
||||
|
||||
Reference in New Issue
Block a user