Re: using git submodules with vcsh
On Sat, 5 Jan 2013 18:14:13 +0100 Richard Hartmannwrote: > Hi Andre, > > submodules are still a point of contention with vcsh. > > Problem is, git needs to support a way to move .gitmodules around, which it > does not currently have. > > That submodules work at all with vcsh is a relatively recent development. > git didn't clean up its own variables properly, that bug was discovered by > vcsh users and took ages to be resolved. > Sorry for picking up this old discussion but my question seems to fit here. Richard, I found this discussion where you talk about working with submodules in detached bare repositories in general: http://git.661346.n2.nabble.com/git-submodule-vs-GIT-WORK-TREE-td7562165.html And, as you say, the issue about GIT_DIR and GIT_WORK_TREE has been solved: http://git.661346.n2.nabble.com/PATCH-Solve-git-submodule-issues-with-detached-work-trees-td7563377.html https://github.com/git/git/commit/be8779f7ac9a3be9aa783df008d59082f4054f67 > I sent email to git's ML some time ago asking for a way to support > different locations for .gitmodules but to no avail, yet. > However in the archives of the git mailing list I didn't find the messages about the hardcoded .gitmodules path. I just wanted to have a peek of what git developers think about it before writing on that matter again. Thanks, Antonio -- Antonio Ospite https://ao2.it https://twitter.com/ao2it A: Because it messes up the order in which people normally read text. See http://en.wikipedia.org/wiki/Posting_style Q: Why is top-posting such a bad thing? ___ vcs-home mailing list vcs-home@lists.madduck.net https://lists.madduck.net/listinfo/vcs-home
Re: using git submodules with vcsh
Hi Andre, submodules are still a point of contention with vcsh. Problem is, git needs to support a way to move .gitmodules around, which it does not currently have. That submodules work at all with vcsh is a relatively recent development. git didn't clean up its own variables properly, that bug was discovered by vcsh users and took ages to be resolved. I sent email to git's ML some time ago asking for a way to support different locations for .gitmodules but to no avail, yet. As soon as git supports this, I will update vcsh accordingly. Richard ___ vcs-home mailing list vcs-home@lists.madduck.net http://lists.madduck.net/listinfo/vcs-home
Re: using git submodules with vcsh
Hi Andre, On Fri, Jan 04, 2013 at 08:29:34PM +0100, Andre Klärner wrote: first of all thanks to all creators of vcsh and the vcs-home project. It is really cool to manage my homedir with ease and version my systems with git. Anyway I wanted to use git submodules for using some foreigin parts in my local config. I tried it the first time for my vim-repository, and it worked perfectly fine. Than a month later I wanted to redo this for my awesome repository, but I found out that both .gitmodules files collide in my homedir. Has anyone found a way to use submodules in multiple vcsh repositories? I check the git documentation, but it seems that there is no similar way like for the gitignore files. Is there something you need submodules for that can't be accomplished with mr? I imagine this use case hasn't been implemented because vcsh is generally used with mr (though I'm speculating). Cheers, Edd ___ vcs-home mailing list vcs-home@lists.madduck.net http://lists.madduck.net/listinfo/vcs-home