@leroysheep / Socializer / commits / e311d87dfe

Meta/pushall: attempt to auto-push the tip-tag

Junio C Hamano committed Dec 6, 2012 at 13:48 UTC e311d87dfe931dd6c060985e3d691cda5526e23e
1 file changed +14
pushall
+14
index 4045cbd27b..c4d6e1de40 100755 --- a/pushall +++ b/pushall @@ -1,5 +1,19 @@ #!/bin/sh +case "$#" in +0) + tagged= + for branch in maint master + do + t=$(git describe --exact-match $branch 2>/dev/null) && + tagged="$tagged$t " + done + if test -n "$tagged" + then + "$0" $tagged + fi +esac + for remote in ko repo gph github2 sfjp sf.net do printf "%s: " "$remote"