push: teach --recurse-submodules the on-demand option
authorHeiko Voigt <hvoigt@hvoigt.net>
Thu, 29 Mar 2012 07:21:24 +0000 (09:21 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 30 Mar 2012 16:02:55 +0000 (09:02 -0700)
commiteb21c732d6b642a8f33abd69071a95de01d5061b
tree69fd9caa7118ace0b1453830aa2ef86e006caef8
parenta762e51ef2a39b0c326a1529dbe7f4cb303960db
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