]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Meta/pushall: catch attempts to push only 'next' branch to special case, too
authorJunio C Hamano <gitster@pobox.com>
Wed, 18 Oct 2017 02:57:53 +0000 (11:57 +0900)
committerJunio C Hamano <gitster@pobox.com>
Wed, 18 Oct 2017 02:57:53 +0000 (11:57 +0900)
pushall

diff --git a/pushall b/pushall
index 1f9a9d46397f8b766b20006db8bf3b8c780dea08..2b4a8a5ca64806ab365e9c191e21dae5164487a1 100755 (executable)
--- a/pushall
+++ b/pushall
@@ -30,7 +30,7 @@ push_retry () {
 }
 
 case " $* " in
-*' +next '*)
+*' +next '* | *' next '*)
        push_retry "$nexts" "$@"
        exit $?
        ;;