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
@@ -1,5 +1,19 @@
1
#!/bin/sh
2
3
+case "$#" in
4
+0)
5
+ tagged=
6
+ for branch in maint master
7
+ do
8
+ t=$(git describe --exact-match $branch 2>/dev/null) &&
9
+ tagged="$tagged$t "
10
+ done
11
+ if test -n "$tagged"
12
+ then
13
+ "$0" $tagged
14
+ fi
15
+esac
16
+
17
for remote in ko repo gph github2 sfjp sf.net
18
do
19
printf "%s: " "$remote"