summaryrefslogtreecommitdiff
path: root/builtin/branch.c
diff options
context:
space:
mode:
authorLibravatar Glen Choo <chooglen@google.com>2022-03-07 16:14:27 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2022-03-07 16:51:03 -0800
commit7c2f8cc58cc3648a0e1e4c76be15a09114b4d9dd (patch)
treec443bb8426ff7eaf96591b9ee617c1df4ac494ec /builtin/branch.c
parentt5526: create superproject commits with test helper (diff)
downloadtgif-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/branch.c')
0 files changed, 0 insertions, 0 deletions