From e311d87dfe931dd6c060985e3d691cda5526e23e Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Thu, 6 Dec 2012 13:48:43 -0800 Subject: [PATCH] Meta/pushall: attempt to auto-push the tip-tag --- pushall | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/pushall b/pushall 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"