diff options
author | Joey Hess <joeyh@joeyh.name> | 2016-03-01 16:34:41 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2016-03-01 16:34:41 -0400 |
commit | 98fb47723990ce5af2eea7a52e4dd09add54ab99 (patch) | |
tree | cb15e1eb668f24b03bdb2774524fbb811ae776be | |
parent | 6674baaf7c0303c6e0522c339c2216cad3332ac2 (diff) |
followup
-rw-r--r-- | doc/bugs/git-annex_confuses_Git_with_nested_submodules/comment_1_fb01d4b5af500affc08a5c3b3b1849dd._comment | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/bugs/git-annex_confuses_Git_with_nested_submodules/comment_1_fb01d4b5af500affc08a5c3b3b1849dd._comment b/doc/bugs/git-annex_confuses_Git_with_nested_submodules/comment_1_fb01d4b5af500affc08a5c3b3b1849dd._comment new file mode 100644 index 000000000..41068b5a9 --- /dev/null +++ b/doc/bugs/git-annex_confuses_Git_with_nested_submodules/comment_1_fb01d4b5af500affc08a5c3b3b1849dd._comment @@ -0,0 +1,16 @@ +[[!comment format=mdwn + username="joey" + subject="""comment 1""" + date="2016-03-01T20:25:13Z" + content=""" +Reproduced this. + +This really does feel like a git bug. git is supposed to treat "gitlink" +files and .git symlinks the same. While modern versions of git set up +gitlink files for submodules, older versions of git used .git symlinks, and +git should still support that. + +Looks like the problem can be worked around, by setting +`GIT_DIR`. In your example, `GIT_DIR=../.git/modules/sub_lvl1/ git +submodule add /src/somegitrepo sub_lvl2` +"""]] |