Hi Junio, On Mon, 21 Jul 2008, Johannes Schindelin wrote: > It comes quite as a surprise to an unsuspecting Git user that calling > "git add submodule/file" (which is a mistake, alright) _removes_ > the submodule in the index, and adds the file. Instead, complain loudly. > > While at it, be nice when the user said "git add submodule/" which is > most likely the consequence of tab-completion, and stage the submodule, > instead of trying to add the contents of that directory. Do you plan to apply the split-up builtin-add enhancments you did a few nights ago, so that this patch can be elegant? I think this fix should go into 1.6.0. Ciao, Dscho -- 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