Meta/pushall: show where we are pushing

todo
Junio C Hamano 2011-10-19 11:14:04 -07:00
parent 302bc0dcbc
commit a31dee5a21
1 changed files with 6 additions and 5 deletions

11
pushall
View File

@ -1,13 +1,14 @@
#!/bin/sh

git push repo "$@" &&
git push gph "$@" &&
git push github2 "$@" &&
git push sfjp "$@" &&
git push sf.net "$@" &&
for remote in ko repo gph github2 sfjp sf.net
do
printf "%s: " "$remote"
git push "$remote" "$@" || exit $?
done

case "$#" in
0)
printf "github mirror: "
git push github "$@" ;;
*)
echo "No push to github" ;;