Files
git/builtin
Brandon Williams bb62e0a99f clone: teach --recurse-submodules to optionally take a pathspec
Teach clone --recurse-submodules to optionally take a pathspec argument
which describes which submodules should be recursively initialized and
cloned.  If no pathspec is provided, --recurse-submodules will
recursively initialize and clone all submodules by using a default
pathspec of ".".  In order to construct more complex pathspecs,
--recurse-submodules can be given multiple times.

This also configures the 'submodule.active' configuration option to be
the given pathspec, such that any future invocation of `git submodule
update` will keep up with the pathspec.

Additionally the switch '--recurse' is removed from the Documentation as
well as marked hidden in the options array, to streamline the options
for submodules.  A simple '--recurse' doesn't convey what is being
recursed, e.g. it could mean directories or trees (c.f. ls-tree) In a
lot of other commands we already have '--recurse-submodules' to mean
recursing into submodules, so advertise this spelling here as the
genuine option.

Signed-off-by: Brandon Williams <bmwill@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2017-03-18 09:51:23 -07:00
..
2016-11-22 13:55:20 -08:00
2017-01-30 14:17:00 -08:00
2017-01-30 14:17:00 -08:00
2016-09-29 15:42:18 -07:00
2016-10-10 14:03:50 -07:00
2017-02-13 15:19:11 -08:00
2017-03-01 15:09:17 -08:00
2016-11-22 13:13:16 -08:00
2016-12-27 00:11:41 -08:00
2016-09-29 15:42:18 -07:00
2017-01-18 15:12:15 -08:00
2017-02-27 13:57:14 -08:00
2017-01-31 13:14:56 -08:00
2015-10-05 13:20:08 -07:00
2017-03-10 13:24:24 -08:00
2017-01-23 18:51:56 -08:00