OoliteProject/oolite — pull request #63 by kanthoney (2013-11-09 08:59:05+00:00)
Title: Update .gitmodules with absolute URLs

I'm having a problem with forking the oolite repository, which might be down to my inexperience with git, or might be due to the problem outlined below.

The problem seems to be due to the relative URL's in .gitmodules. When I clone my fork and do a git submodule update --init, because the URL's are relative it tries to get the submodules from my fork, which don't exist. I can fix the immediate problem by editing .git/config and changing the URL's to absolute. However, if I edit .gitmodules to do the same than the changes appear in every pull request, which would be annoying for you guys. If I don't edit .gitmodules then I've got to manually fix the .git/config if I clone again. Worse still, anybody who clones/forks my repo has to do the same.

So I think the URL's in .gitmodules need to be absolute, as in the patch below. If I'm not understanding something, please let me know!