summaryrefslogtreecommitdiff
path: root/builtin/submodule--helper.c
diff options
context:
space:
mode:
authorLibravatar Brandon Williams <bmwill@google.com>2017-03-17 15:38:05 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-03-18 09:51:23 -0700
commit1b614c07d2428927358cc7317622913d1dbd59c9 (patch)
tree93f0bc029aedf7ccba6b861f9b905fcbdab1c0bb /builtin/submodule--helper.c
parentsubmodule--helper init: set submodule.<name>.active (diff)
downloadtgif-1b614c07d2428927358cc7317622913d1dbd59c9.tar.xz
submodule add: respect submodule.active and submodule.<name>.active
In addition to adding submodule.<name>.url to the config, set submodule.<name>.active to true unless submodule.active is configured and the submodule's path matches the configured pathspec. Signed-off-by: Brandon Williams <bmwill@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/submodule--helper.c')
0 files changed, 0 insertions, 0 deletions