diff options
author | Brandon Williams <bmwill@google.com> | 2017-03-17 15:38:02 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-03-18 09:51:23 -0700 |
commit | 3e7eaed016e6241e96de6a0140923e81cfc387e8 (patch) | |
tree | e3bfda65b4bce0381f37830b20568b51b195aec4 /fetch-pack.c | |
parent | submodule: decouple url and submodule interest (diff) | |
download | tgif-3e7eaed016e6241e96de6a0140923e81cfc387e8.tar.xz |
submodule init: initialize active submodules
Teach `submodule init` to initialize submodules which have been
configured to be active by setting 'submodule.active' with a pathspec.
Now if no path arguments are given and 'submodule.active' is configured,
`init` will initialize all submodules which have been configured to be
active. If no path arguments are given and 'submodule.active' is not
configured, then `init` will retain the old behavior of initializing all
submodules.
This allows users to record more complex patterns as it saves retyping
them whenever you invoke update.
Signed-off-by: Brandon Williams <bmwill@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'fetch-pack.c')
0 files changed, 0 insertions, 0 deletions