Teach --recursive to submodule sync
commit82f49f294c5ee58aff33dfd469bbd5c0d083e314
authorPhil Hord <hordp@cisco.com>
Fri, 26 Oct 2012 19:44:42 +0000 (26 15:44 -0400)
committerJeff King <peff@peff.net>
Mon, 29 Oct 2012 07:29:43 +0000 (29 03:29 -0400)
tree75a79e4d99f4c79d491b711e0fbb338d28e7da1c
parent8c7a786b6c8eae8eac91083cdc9a6e337bc133b0
Teach --recursive to submodule sync

The submodule sync command was somehow left out when
--recursive was added to the other submodule commands.

Teach sync to handle the --recursive switch by recursing
when we're in a submodule we are sync'ing.

Change the report during sync to show submodule-path
instead of submodule-name to be consistent with the other
submodule commands and to help recursed paths make sense.

Signed-off-by: Phil Hord <hordp@cisco.com>
Acked-By: Jens Lehmann <Jens.Lehmann@web.de>
Signed-off-by: Jeff King <peff@peff.net>
git-submodule.sh