Browse Source

Meta/pushall: explicitly support -n

todo
Junio C Hamano 13 years ago
parent
commit
80a572b7ad
  1. 6
      pushall

6
pushall

@ -6,14 +6,14 @@ do @@ -6,14 +6,14 @@ do
git push "$remote" "$@" || exit $?
done

case "$#" in
0)
case "$#,$*" in
0,* | 1,-n)
printf "github mirror: "
git push github "$@" || exit $?
for topic in htmldocs manpages
do
printf "%s: " "$topic"
( cd ../git-$topic.git && git push ) || exit
( cd ../git-$topic.git && git push "$@") || exit
done
;;
esac

Loading…
Cancel
Save