File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -56,8 +56,11 @@ Functions
56
56
57
57
The same as above but lookup by name.
58
58
59
- If given the null_sha1 as treeish_name the local configuration of a
60
- submodule will be returned (e.g. consolidated values from local git
59
+ Whenever a submodule configuration is parsed in `parse_submodule_config_option`
60
+ via e.g. `gitmodules_config()`, it will overwrite the null_sha1 entry.
61
+ So in the normal case, when HEAD:.gitmodules is parsed first and then overlayed
62
+ with the repository configuration, the null_sha1 entry contains the local
63
+ configuration of a submodule (e.g. consolidated values from local git
61
64
configuration and the .gitmodules file in the worktree).
62
65
63
66
For an example usage see test-submodule-config.c.
You can’t perform that action at this time.
0 commit comments