Merge branch 'bw/submodule-is-active' into next
authorJunio C Hamano <gitster@pobox.com>
Thu, 23 Mar 2017 00:47:33 +0000 (17:47 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 23 Mar 2017 00:47:33 +0000 (17:47 -0700)
commit4c05cb5ab4d245dd7b3e0b160fa77724bad19575
tree74a5d650582b5448acc29b186f88e9343ef1b1c3
parent48b49d572c0842ebf520f423b98e5883dbc1387b
parent1b614c07d2428927358cc7317622913d1dbd59c9
Merge branch 'bw/submodule-is-active' into next

"what URL do we want to update this submodule?" and "are we
interested in this submodule?" are split into two distinct
concepts, and then the way used to express the latter got extended,
paving a way to make it easier to manage a project with many
submodules and make it possible to later extend use of multiple
worktrees for a project with submodules.

* bw/submodule-is-active:
  submodule add: respect submodule.active and submodule.<name>.active
  submodule--helper init: set submodule.<name>.active
  clone: teach --recurse-submodules to optionally take a pathspec
  submodule init: initialize active submodules
  submodule: decouple url and submodule interest
  submodule--helper clone: check for configured submodules using helper
  submodule sync: use submodule--helper is-active
  submodule sync: skip work for inactive submodules
  submodule status: use submodule--helper is-active
  submodule--helper: add is-active subcommand
Documentation/config.txt
builtin/clone.c
builtin/submodule--helper.c
submodule.c