On Mon, Apr 06, 2009 at 03:06:46PM +0200, Klas Lindberg wrote: > On Mon, Apr 6, 2009 at 2:54 PM, Matthieu Moy <Matthieu.Moy@xxxxxxx> wrote: > > > What Johannes pointed out is that someone could fetch from your repo > > _after_ you correct the mistake (if you don't control garbage > > collection). > > Aha, ok. But how then does submodule update work? Git will only see > SHA keys for each submodule in the cotntainer tree commit, so how does > it perform fetching of those (unnamed) references? git submodule update just does "git fetch" and hopes that the required commit appears. In practice this means that you (may) need to invent a tag or a branch for all the submodules, otherwise they are not fetchable. This bit us pretty hard when we tried to use submodules earlier, so we gave up. Maybe some day... - Finn Arne -- 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