7 Dec
2013
7 Dec
'13
10:33 p.m.
Git submodules make it very explicit what was intended to link to what. If you want to change the linkage you have to do it _explicitly_ by committing an updated submodule link. That way noone is left confused about what the commit author really intended.
Yes, this confused me horribly when I started using git too. Now I can't imagine why I ever wanted it otherwise.
I think it's worth mentionning that git can track the tip of a branch now: http://stackoverflow.com/questions/9189575/git-submodule-tracking-latest/918... Not sure it changes anything reguarding the problem we are trying to solve tho. Philippe