Hi, On Tue, 31 Mar 2009, P Baker wrote: > I'll paraphrase to see if I understand your points: > > *Moving objects from submodule .git directories into the base .git/ > directory would protect the submodules and is a good idea. No, I did not say that. I said that moving submodules' working directory need to protected when renaming/deleting submodules. Even worse, I think that moving the .git/ directory into the superproject's .git/ would be at least quite a bit awkward in the nested case. > *Moving to a .git/ file from .gitmodules should be taken off of the > goal list (I went back and read this thread: > http://thread.gmane.org/gmane.comp.version-control.git/78605; seemed > to clear things up). Can't follow links here, as I am reading this offline, so cannot comment. > *git submodule recurse would be a good option (not as a default), if > the remaining issues are resolved. Definitely. > *It would be a good idea for git submodule to work with foreign VCS, > through Daniel's patches. But that would not only apply to submodules, but rather all repositories, to the point that "git submodule" does not need any change. > I appreciate the guidance, it's helping me to see that some of this work > has already been done, it needs to be finished and pushed into a public > release. As an intense user of submodules, what does it do poorly/not do > for your needs? One gripe I have, but which should be rather easy to fix: "git checkout -- submodule/" does not update the index, last time I checked. (It correctly does not touch the submodule's working directory.) Another one: The most common mistake with submodules is to commit and push the superproject, after having committed (but not pushed) in the submodule. Not sure how that could be helped. Further, often it would come in rather handy to be able to say something like "git diff $REVISION_AS_COMMITTED_IN_THE_SUPERPROJECT" from within the submodule... git submodule summary should output to the pager by default. Oh, and it would not hurt performance on Windows at all if git-submodule would be finally made a builtin. Ciao, Dscho -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html