Expand description
Submodule “active” state (submodule.c is_submodule_active parity).
Used by test-tool submodule is-active and git submodule add when deciding
whether to write submodule.<name>.active.
Functions§
- is_
submodule_ active - Git
is_submodule_activefor the current repository and index (HEAD+.gitmodulesmapping). - submodule_
active_ pathspec_ match - Whether
pathmatchessubmodule.activepathspecs using the given index (Gitmatch_pathspec). - submodule_
add_ should_ set_ active - Whether
git submodule addshould writesubmodule.<name>.active=trueto the local config. - submodule_
name_ for_ path - Resolve the submodule logical name for an index path (
.gitmodulessubmodule.<name>.path).