builtin/push.c: respect 'submodule.recurse' option
commit4e53d6a54122b6034b9b0346c84e3e5525aed542
authorStefan Beller <sbeller@google.com>
Thu, 1 Jun 2017 00:30:49 +0000 (31 17:30 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 1 Jun 2017 01:36:36 +0000 (1 10:36 +0900)
treef7ba6e878313def6b1ac8d18fd0d40956beef229
parent9071c078af637573a3068c6920dd4ceff6a5a69f
builtin/push.c: respect 'submodule.recurse' option

The closest mapping from the boolean 'submodule.recurse' set to "yes"
to the variety of submodule push modes is "on-demand", so implement that.

Signed-off-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/push.c
t/t5531-deep-submodule-push.sh