]> git.ipfire.org Git - thirdparty/git.git/commit - builtin/submodule--helper.c
submodule: remove submodule.fetchjobs from submodule-config parsing
authorBrandon Williams <bmwill@google.com>
Wed, 2 Aug 2017 19:49:18 +0000 (12:49 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 2 Aug 2017 21:26:46 +0000 (14:26 -0700)
commitf20e7c1ea2459d9b8c12f8ed1f1546665841b643
treeeb2474b554018a9d9470428b1493b7b58f7d5cc7
parentb22e51cb26bc93bd1548950e61970a9973e04b70
submodule: remove submodule.fetchjobs from submodule-config parsing

The '.gitmodules' file should only contain information pertinent to
configuring individual submodules (name to path mapping, URL where to
obtain the submodule, etc.) while other configuration like the number of
jobs to use when fetching submodules should be a part of the
repository's config.

Remove the 'submodule.fetchjobs' configuration option from the general
submodule-config parsing and instead rely on using the
'config_from_gitmodules()' in order to maintain backwards compatibility
with this config being placed in the '.gitmodules' file.

Signed-off-by: Brandon Williams <bmwill@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/fetch.c
builtin/submodule--helper.c
submodule-config.c
submodule-config.h
submodule.c
submodule.h