summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAntonio Ospite <ao2@ao2.it>2018-10-25 16:18:13 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-10-31 06:01:30 (GMT)
commit2b1257e463fe97b3f657bbf30fafdea0c4847cd7 (patch)
treefdd139c4b57085c08e74d1533364fdaf2424aaf0 /Makefile
parent76e9bdc437ca3111883eb57a479e5d8f582dd670 (diff)
downloadgit-2b1257e463fe97b3f657bbf30fafdea0c4847cd7.zip
git-2b1257e463fe97b3f657bbf30fafdea0c4847cd7.tar.gz
git-2b1257e463fe97b3f657bbf30fafdea0c4847cd7.tar.bz2
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 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 5a969f5..cd67f20 100644
--- a/Makefile
+++ b/Makefile
@@ -735,6 +735,7 @@ TEST_BUILTINS_OBJS += test-sigchain.o
TEST_BUILTINS_OBJS += test-strcmp-offset.o
TEST_BUILTINS_OBJS += test-string-list.o
TEST_BUILTINS_OBJS += test-submodule-config.o
+TEST_BUILTINS_OBJS += test-submodule-nested-repo-config.o
TEST_BUILTINS_OBJS += test-subprocess.o
TEST_BUILTINS_OBJS += test-urlmatch-normalization.o
TEST_BUILTINS_OBJS += test-wildmatch.o