summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorLibravatar Fredrik Gustafsson <iveqy@iveqy.com>2011-08-15 23:17:47 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2011-08-22 21:03:38 -0700
commit501770e1bb5d132ae4f79aa96715f07f6b84e1f6 (patch)
tree768613c1a4ffe3767f146070ca5d764c3a6866db /README
parentrev-parse: add option --resolve-git-dir <path> (diff)
downloadtgif-501770e1bb5d132ae4f79aa96715f07f6b84e1f6.tar.xz
Move git-dir for submodules
Move git-dir for submodules into $GIT_DIR/modules/[name_of_submodule] of the superproject. This is a step towards being able to delete submodule directories without loosing the information from their .git directory as that is now stored outside the submodules work tree. This is done relying on the already existent .git-file functionality. When adding or updating a submodule whose git directory is found under $GIT_DIR/modules/[name_of_submodule], don't clone it again but simply point the .git-file to it and remove the now stale index file from it. The index will be recreated by the following checkout. This patch will not affect already cloned submodules at all. Tests that rely on .git being a directory have been fixed. Signed-off-by: Fredrik Gustafsson <iveqy@iveqy.com> Mentored-by: Jens Lehmann <Jens.Lehmann@web.de> Mentored-by: Heiko Voigt <hvoigt@hvoigt.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions