diff options
author | Glen Choo <chooglen@google.com> | 2022-03-07 16:14:27 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-03-07 16:51:03 -0800 |
commit | 7c2f8cc58cc3648a0e1e4c76be15a09114b4d9dd (patch) | |
tree | c443bb8426ff7eaf96591b9ee617c1df4ac494ec /builtin/merge.c | |
parent | t5526: create superproject commits with test helper (diff) | |
download | tgif-7c2f8cc58cc3648a0e1e4c76be15a09114b4d9dd.tar.xz |
submodule: make static functions read submodules from commits
A future commit will teach "fetch --recurse-submodules" to fetch
unpopulated submodules. To prepare for this, teach the necessary static
functions how to read submodules from superproject commits using a
"treeish_name" argument (instead of always reading from the index and
filesystem) but do not actually change where submodules are read from.
Submodules will be read from commits when we fetch unpopulated
submodules.
Signed-off-by: Glen Choo <chooglen@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/merge.c')
0 files changed, 0 insertions, 0 deletions