Skip to main content

Module submodule_config

Module submodule_config 

Source
Expand description

Submodule registration and activation (Git submodule.c parity for tooling).

Used by ls-files --recurse-submodules to decide when to enter a gitlink.

Structs§

SubmoduleRegistration
Maps a submodule work tree path (as in the index / .gitmodules) to its submodule section name.

Functions§

is_submodule_active
Git is_submodule_active / is_tree_submodule_active for ls-files --recurse-submodules.
load_submodule_registrations
Load .gitmodules mappings: path → submodule name.
submodule_name_for_path
Returns the .gitmodules submodule section name for a gitlink path, if registered.