Meta/pushall: adjust to new layout

Junio C Hamano committed Nov 16, 2011 at 22:46 UTC 3646cd6e54fd4f0676ae2810124e636b35c942af
1 file changed +7 -3
pushall
+7 -3
@@ -9,7 +9,11 @@ done
9 case "$#" in
10 0)
11 printf "github mirror: "
12 - git push github "$@" ;;
13 -*)
14 - echo "No push to github" ;;
12 + git push github "$@" || exit $?
13 + for topic in htmldocs manpages
14 + do
15 + printf "%s: " "$topic"
16 + ( cd ../git-$topic.git && git push ) || exit
17 + done
18 + ;;
19 esac