Added a comment
authorTTTTAAAx <TTTTAAAx@web>
Thu, 11 Jan 2024 13:58:27 +0000 (13:58 +0000)
committeradmin <admin@branchable.com>
Thu, 11 Jan 2024 13:58:27 +0000 (13:58 +0000)
doc/submodules/comment_6_d1877da19346bbd6067ff95252974a9b._comment [new file with mode: 0644]

diff --git a/doc/submodules/comment_6_d1877da19346bbd6067ff95252974a9b._comment b/doc/submodules/comment_6_d1877da19346bbd6067ff95252974a9b._comment
new file mode 100644 (file)
index 0000000..6a14a15
--- /dev/null
@@ -0,0 +1,15 @@
+[[!comment format=mdwn
+ username="TTTTAAAx"
+ avatar="http://cdn.libravatar.org/avatar/9edd4b69b9f9fc9b8c1cb8ecd03902d5"
+ subject="comment 6"
+ date="2024-01-11T13:58:27Z"
+ content="""
+Since git 1.8.5, `git mv projects/2023/prj_1 archives/2023/prj_1` can update local path of submodule.
+Currently, `git-annex` doesn't detect submodule path changed and Just moving parent directories breaks git-modules thoroughly.
+The only way I found is to move all submodule to another tree structure one by one using `git mv ...`.
+
+If the parent directory name(e.g: projects->01_Projects) or its depth was changed by chance, all submodules inside the directory are broken.
+
+So I cannot use submodules to handle source code in my git-annex repo.
+Is there an easy (cool) way for this?
+"""]]