-=| Maximilian Gass, Sun, Jul 19, 2009 at 10:33:01AM +0200 |=- > On Sun, Jul 19, 2009 at 11:24:26AM +0300, Damyan Ivanov wrote: > > > because > > > git-submodule will pull all the same like mr. > > > > Will it? I didn't try this, did you? The assumption I did during the > > meeting is only a feeling that needs to be proven. > > I just had a quick peek into the git-submodule script. It loops over the list of > modules, using git-fetch and git-checkout to get the right revisions for them. But only for sub-modules that need updating (i.e. their HEAD differs from the one in the master repostiory). So you get one fetch for the master repository, followed with a series of fetches on the sub-repositories that don't match the master. Compare this with mr, where 'mr update' results in a 'git pull' for each and every sub-repository. Still, a real world test would be nice and something I am willing to do. -- dam
Attachment:
signature.asc
Description: Digital signature