On Wed, Aug 15, 2007 at 06:20:05PM +0200, martin f krafft wrote: > But looking at the two stanzas, it strikes me that the remote url of > the submodule is duplicated and detached, creating redundant data > which may become desynchronised. > > Why is this? > > What is the reason for git-submodule init and moving the data to > .git/config? The (most appropriate) URL from which to get updates of a submodule may be different for different people and therefore has to be stored in .git/config. It was then decided that the default value for this URL should be stored in .gitmodules. git submodule init simply initializes the URL using this default value. You are free to not call git submodule init and set a (more) appropriate URL manually. skimo - 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