push: teach --recurse-submodules the on-demand option
authorFredrik Gustafsson <iveqy@iveqy.com>
Fri, 19 Aug 2011 22:08:48 +0000 (00:08 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sun, 21 Aug 2011 06:06:52 +0000 (23:06 -0700)
commit0f058a75f42b83ede290b997456fc0ff342db7e7
tree3268b053bd9f8b8f3b6a828474da446cfa84d4b6
parentd2b17b3220cbd75b1c8e2aa6cfdc5c121749c97d
push: teach --recurse-submodules the on-demand option

When using this option git will search for all submodules that
have changed in the revisions to be send. It will then try to
push the currently checked out branch of each submodule.

This helps when a user has finished working on a change which
involves submodules and just wants to push everything in one go.

Signed-off-by: Fredrik Gustafsson <iveqy@iveqy.com>
Mentored-by: Jens Lehmann <Jens.Lehmann@web.de>
Mentored-by: Heiko Voigt <hvoigt@hvoigt.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-push.txt
builtin/push.c
submodule.c
submodule.h
t/t5531-deep-submodule-push.sh
transport.c
transport.h