]> git.ipfire.org Git - thirdparty/git.git/commit - t/t7400-submodule-basic.sh
submodule--helper init: set submodule.<name>.active
authorBrandon Williams <bmwill@google.com>
Fri, 17 Mar 2017 22:38:04 +0000 (15:38 -0700)
committerJunio C Hamano <gitster@pobox.com>
Sat, 18 Mar 2017 16:51:23 +0000 (09:51 -0700)
commit1f8d711548c08e05766e067dc23e5be3b1b72657
treea3ffbc67a915610100eaf03cd0ce669cc18d439e
parentbb62e0a99fcbb9ceb03502bf2168d2e57530214f
submodule--helper init: set submodule.<name>.active

When initializing a submodule set the submodule.<name>.active config to
true if the module hasn't already been configured to be active by some
other means (e.g. a pathspec set in submodule.active).

Signed-off-by: Brandon Williams <bmwill@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/submodule--helper.c
t/t7400-submodule-basic.sh