diff options
author | Antonio Ospite <ao2@ao2.it> | 2018-10-25 18:18:13 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-10-31 15:01:30 +0900 |
commit | 2b1257e463fe97b3f657bbf30fafdea0c4847cd7 (patch) | |
tree | fdd139c4b57085c08e74d1533364fdaf2424aaf0 /diff-no-index.c | |
parent | submodule: support reading .gitmodules when it's not in the working tree (diff) | |
download | tgif-2b1257e463fe97b3f657bbf30fafdea0c4847cd7.tar.xz |
t/helper: add test-submodule-nested-repo-config
Add a test tool to exercise config_from_gitmodules(), in particular for
the case of nested submodules.
Add also a test to document that reading the submoudles config of nested
submodules does not work yet when the .gitmodules file is not in the
working tree but it still in the index.
This is because the git API does not always make it possible access the
object store of an arbitrary repository (see get_oid() usage in
config_from_gitmodules()).
When this git limitation gets fixed the aforementioned use case will be
supported too.
Signed-off-by: Antonio Ospite <ao2@ao2.it>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'diff-no-index.c')
0 files changed, 0 insertions, 0 deletions