Merge branch 'kn/for-each-tag'
[gitweb.git] / contrib / subtree / git-subtree.sh
index 72a20c0c2d57152d4e21fb67d9e013a6bbb2b99d..308b777b0aa43a7466fb3402cc67c1f023f57a7a 100755 (executable)
@@ -735,7 +735,7 @@ cmd_push()
            refspec=$2
            echo "git push using: " $repository $refspec
            localrev=$(git subtree split --prefix="$prefix") || die
-           git push $repository $localrev:refs/heads/$refspec
+           git push "$repository" $localrev:refs/heads/$refspec
        else
            die "'$dir' must already exist. Try 'git subtree add'."
        fi