Meta/pushall: github is configured to be a mirror and does not take parameters
Junio C Hamano committed
Jul 8, 2010 at 07:54 UTC
a971895762b2f28c4c727e2e6a99cc4db8fc966d
1 file changed
+8
-2
pushall
+8
-2
index 24c18eddb9..4522c65ced 100755
--- a/pushall
+++ b/pushall
@@ -1,6 +1,12 @@
#!/bin/sh
git push repo "$@" &&
-git push github "$@" &&
git push sfjp "$@" &&
-git push sf.net "$@"
+git push sf.net "$@" &&
+
+case "$#" in
+0)
+ git push github "$@" ;;
+*)
+ echo "No push to github" ;;
+esac