]> git.ipfire.org Git - thirdparty/git.git/commit
repository: support unabsorbed in repo_submodule_init
authorJonathan Tan <jonathantanmy@google.com>
Thu, 9 Sep 2021 18:47:28 +0000 (11:47 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 9 Sep 2021 21:09:30 +0000 (14:09 -0700)
commit8eb8dcf94643ca6e7c3f040f3e0bf96e11c7ae47
treef7e2ee9926bed0f5382f492687ca830a599c993c
parent5df5106e1e8b52ff54c0726ba6919afa4b745980
repository: support unabsorbed in repo_submodule_init

In preparation for a subsequent commit that migrates code using
add_submodule_odb() to repo_submodule_init(), teach
repo_submodule_init() to support submodules with unabsorbed gitdirs.
(See the documentation for "git submodule absorbgitdirs" for more
information about absorbed and unabsorbed gitdirs.)

Signed-off-by: Jonathan Tan <jonathantanmy@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/grep.c
builtin/ls-files.c
builtin/submodule--helper.c
repository.c
repository.h
submodule.c
t/helper/test-submodule-nested-repo-config.c